:root {
  --ink: #151515;
  --paper: #f7f4ec;
  --white: #ffffff;
  --muted: #686763;
  --line: #d8d4ca;
  --blue: #2455ff;
  --red: #ee3d3d;
  --mint: #25c795;
  --yellow: #f6ca45;
  --shadow: 10px 12px 0 #151515;
  --max: 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;
  letter-spacing: 0;
}

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: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(247, 244, 236, 0.97);
  border-bottom: 2px solid var(--ink);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 166px;
  font-size: 20px;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

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

.site-nav a {
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  font-weight: 700;
}

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

.download-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-weight: 850;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.header-download {
  min-height: 40px;
  padding: 6px 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

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

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.hero-inner {
  min-height: 560px;
  padding: 44px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-index,
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 2px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

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

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

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

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

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

.hero-notes li {
  padding: 4px 10px;
  border-left: 5px solid var(--mint);
  background: var(--white);
  font-size: 14px;
  font-weight: 750;
}

.hero-media {
  position: relative;
  height: 456px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-stack {
  position: relative;
  width: 420px;
  height: 420px;
}

.screen-frame {
  position: absolute;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 7px 8px 0 var(--ink);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ececec;
}

.screen-main {
  right: 96px;
  top: 0;
  width: 190px;
  height: 418px;
  z-index: 3;
}

.screen-left {
  left: 0;
  top: 82px;
  width: 140px;
  height: 308px;
  transform: rotate(-5deg);
  z-index: 1;
}

.screen-right {
  right: 0;
  top: 66px;
  width: 138px;
  height: 304px;
  transform: rotate(5deg);
  z-index: 2;
}

.search-token {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 164px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 5px 5px 0 var(--ink);
}

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

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

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

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

.section-heading {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2,
.article-header h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-index {
  justify-content: center;
  background: var(--red);
  color: var(--white);
}

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

.gallery-item {
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
}

.gallery-image {
  min-height: 410px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
}

.gallery-image img {
  width: auto;
  max-width: 400px;
  height: 480px;
  object-fit: contain;
}

.gallery-item:nth-child(2) .gallery-image {
  background: #dce5ff;
}

.gallery-item:nth-child(3) .gallery-image {
  background: #d8f7ea;
}

.gallery-item h3,
.feature-card h3,
.route-step h3,
.link-panel h3,
.article-section h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

.gallery-item p,
.feature-card p,
.route-step p,
.link-panel p {
  margin: 0;
  color: var(--muted);
}

.route-grid {
  counter-reset: route;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 3px solid var(--ink);
}

.route-step {
  counter-increment: route;
  position: relative;
  min-height: 220px;
  padding: 72px 26px 26px;
  background: var(--paper);
}

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

.route-step::before {
  content: "0" counter(route);
  position: absolute;
  top: 18px;
  left: 24px;
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
}

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

.feature-card {
  min-height: 220px;
  padding: 24px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--white);
}

.feature-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

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

.link-panel {
  min-height: 236px;
  padding: 30px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 8px 9px 0 var(--ink);
}

.link-panel:nth-child(2) {
  background: var(--yellow);
}

.link-panel .arrow {
  display: block;
  margin-top: 30px;
  font-size: 28px;
  font-weight: 900;
}

.faq-preview,
.faq-list {
  display: grid;
  gap: 12px;
}

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

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

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

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 19px;
  line-height: 1;
}

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

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

.detail-body p {
  margin: 0;
}

.final-action {
  padding: 66px 0;
  background: var(--ink);
  color: var(--white);
}

.final-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

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

.final-inner p {
  margin: 0;
  color: #d3d1ca;
}

.site-footer {
  padding: 34px 0;
  background: #0b0b0b;
  color: #c9c7c0;
  text-align: center;
}

.site-footer p {
  margin: 5px auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 700;
}

.article-hero {
  padding: 66px 0 58px;
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
  align-items: end;
}

.article-header h1 {
  max-width: 760px;
  margin-top: 18px;
}

.article-lead {
  margin: 20px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.article-stamp {
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: 7px 8px 0 var(--ink);
  font-weight: 850;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 56px;
  align-items: start;
  padding: 60px 0 80px;
}

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

.article-section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 2px solid var(--line);
}

.article-section p {
  margin: 12px 0;
}

.article-section ul,
.article-section ol {
  margin: 16px 0;
  padding-left: 24px;
}

.callout {
  padding: 22px;
  border-left: 8px solid var(--red);
  background: #fff0ee;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--ink);
  background: var(--white);
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 12px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.article-nav {
  position: sticky;
  top: 100px;
  padding-left: 20px;
  border-left: 3px solid var(--ink);
}

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

.article-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
}

.article-nav a:hover {
  color: var(--blue);
}

.faq-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 42px;
  padding: 7px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  background: var(--blue);
  color: var(--white);
}

.faq-item[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 30px;
  }

  .screen-stack {
    transform: scale(0.88);
  }

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

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

  .header-inner {
    height: 64px;
  }

  .header-download {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 14px 20px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

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

  .site-nav a {
    min-height: 46px;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner {
    min-height: auto;
    padding: 26px 0 30px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero h1 {
    margin: 12px 0 10px;
    font-size: 40px;
    line-height: 1.06;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 17px;
  }

  .hero-notes {
    margin-top: 16px;
  }

  .hero-notes li {
    font-size: 12px;
  }

  .hero-media {
    height: 274px;
  }

  .screen-stack {
    width: 330px;
    height: 250px;
    transform: none;
  }

  .screen-main {
    right: 105px;
    width: 112px;
    height: 246px;
  }

  .screen-left {
    left: 42px;
    top: 37px;
    width: 78px;
    height: 174px;
  }

  .screen-right {
    right: 46px;
    top: 30px;
    width: 78px;
    height: 174px;
  }

  .search-token {
    right: 9px;
    width: 132px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-heading h2,
  .article-header h1 {
    font-size: 34px;
  }

  .gallery-grid,
  .route-grid,
  .deep-links,
  .article-header,
  .article-layout,
  .final-inner {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    min-height: 360px;
  }

  .gallery-image img {
    height: 420px;
  }

  .route-step {
    min-height: auto;
  }

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

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

  .final-inner {
    text-align: left;
  }

  .article-hero {
    padding: 46px 0 40px;
  }

  .article-header {
    gap: 28px;
  }

  .article-stamp {
    max-width: 320px;
  }

  .article-layout {
    gap: 20px;
    padding: 44px 0 64px;
  }

  .article-nav {
    position: static;
    grid-row: 1;
    padding: 16px 18px;
    border: 2px solid var(--ink);
    background: var(--white);
  }

  .article-nav a {
    display: inline-block;
    margin-right: 14px;
  }
}

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

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

  .download-link,
  .text-link {
    padding-left: 16px;
    padding-right: 16px;
  }

  .screen-stack {
    width: 310px;
  }

  .section-heading h2 {
    font-size: 31px;
  }
}

