:root {
  --paper: #f6f7f3;
  --white: #ffffff;
  --ink: #171717;
  --muted: #64645f;
  --line: #d9dbd3;
  --coral: #f05a47;
  --teal: #0e8f85;
  --yellow: #ffd45c;
  --dark-teal: #083f3c;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  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%;
}

button,
input {
  font: inherit;
}

.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);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 74px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 243, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  font-size: 21px;
  font-weight: 800;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:not(.button) {
  position: relative;
  padding: 25px 0 21px;
}

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

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

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

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

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

.button-dark:hover,
.button-dark:focus-visible {
  box-shadow: 2px 2px 0 var(--white);
}

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

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

.hero {
  position: relative;
  min-height: min(650px, calc(100vh - 118px));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 38%;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 52px 0;
}

.hero-copy {
  width: min(680px, 60%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before,
.section-kicker::before {
  width: 24px;
  height: 3px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 30px;
  color: #d6d8d2;
  font-size: 18px;
}

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

.hero-note {
  color: #aeb2a9;
  font-size: 13px;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(5vw, calc((100vw - var(--max)) / 2));
  bottom: auto;
  width: auto;
  height: min(572px, calc(100vh - 166px));
  max-width: 400px;
  border: 8px solid #f4f4ef;
  border-radius: 28px;
  box-shadow: 22px 22px 0 var(--teal);
  transform: translateY(-50%);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: calc(50% + 108px);
  right: calc(max(5vw, (100vw - var(--max)) / 2) + 240px);
  bottom: auto;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-8deg);
}

.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.ticker-window {
  overflow: hidden;
  background: var(--yellow);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
}

.ticker span {
  padding: 11px 28px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

.section {
  padding: 86px 0;
}

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

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

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

.section-head h2,
.content-header h1,
.cta-band h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-index {
  color: var(--muted);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

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

.feature-item {
  min-height: 260px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.feature-number {
  display: block;
  margin-bottom: 40px;
  color: var(--teal);
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  font-weight: 700;
}

.feature-item h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.screen-strip {
  display: grid;
  grid-auto-columns: minmax(240px, 300px);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 0 22px;
  scroll-snap-type: x mandatory;
}

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

.screen-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.screen-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.screen-item figcaption span {
  color: var(--muted);
  font-weight: 500;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.route-card {
  position: relative;
  min-height: 330px;
  padding: 42px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.route-card:last-child {
  border-right: 0;
}

.route-card:nth-child(2) {
  color: var(--white);
  background: var(--dark-teal);
}

.route-card .route-mark {
  position: absolute;
  top: 24px;
  right: 30px;
  color: var(--coral);
  font-family: Consolas, Monaco, monospace;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.route-card h3 {
  max-width: 390px;
  margin: 70px 0 18px;
  font-size: 30px;
  line-height: 1.25;
}

.route-card p {
  max-width: 440px;
  margin: 0 0 26px;
  color: var(--muted);
}

.route-card:nth-child(2) p {
  color: #c7dcd8;
}

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

.review-layout {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 56px;
}

.rating-block {
  padding-right: 44px;
  border-right: 1px solid #3a3a37;
}

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

.rating-label {
  color: #bfc1ba;
  font-size: 13px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-item {
  margin: 0;
}

.review-item blockquote {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
}

.review-item cite {
  color: #aeb2a9;
  font-size: 13px;
  font-style: normal;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  max-width: 860px;
  padding: 0 48px 24px 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.cta-band {
  padding: 72px 0;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  background: var(--coral);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band .section-kicker {
  color: var(--ink);
}

.site-footer {
  padding: 48px 0 28px;
  color: #d2d4ce;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.2fr;
  gap: 48px;
  padding-bottom: 38px;
}

.footer-brand p,
.footer-note {
  max-width: 460px;
  color: #9ea19a;
  font-size: 13px;
}

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

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

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

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #363633;
  color: #8d9089;
  font-size: 12px;
}

.content-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
}

.content-hero::after {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 300px;
  height: 300px;
  border: 46px solid var(--coral);
  border-radius: 50%;
  content: "";
}

.content-header {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 88px 0 76px;
}

.content-header h1 {
  max-width: 800px;
  overflow-wrap: anywhere;
}

.content-header > p:not(.section-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 17px;
}

.guide-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 70px;
}

.steps {
  counter-reset: guide-step;
}

.step {
  position: relative;
  padding: 0 0 52px 86px;
  border-left: 2px solid var(--teal);
  counter-increment: guide-step;
}

.step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.step::before {
  position: absolute;
  top: 0;
  left: -25px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  content: counter(guide-step, decimal-leading-zero);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

.step h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.step p {
  margin: 0 0 14px;
  color: #4f504b;
}

.step ul,
.article-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.step-media {
  width: min(100%, 330px);
  max-width: 400px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.side-nav {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

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

.side-nav a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

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

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

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

.article-section h2 {
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.25;
}

.article-section h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.article-section p {
  margin: 0 0 15px;
  color: #4f504b;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-detail {
  padding: 26px;
  background: var(--white);
}

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

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

.related-links a {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
}

.related-links a:hover {
  border-color: var(--coral);
}

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

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

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

  .site-nav a:not(.button) {
    padding: 11px 0;
  }

  .site-nav a:not(.button)::after {
    bottom: 5px;
  }

  .hero-copy {
    width: 64%;
  }

  .hero-visual {
    right: 2vw;
    max-width: 31vw;
  }

  .hero-stamp {
    display: none;
  }

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

  .review-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rating-block {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid #3a3a37;
  }

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

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

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

  .hero {
    min-height: min(690px, calc(100vh - 108px));
  }

  .hero::before {
    right: 20%;
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 54px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(42px, 14vw, 62px);
    overflow-wrap: normal;
  }

  .hero-copy > p:not(.eyebrow) {
    width: 100%;
    max-width: 350px;
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-note {
    display: block;
    max-width: 230px;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
  }

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

  .feature-item {
    min-height: 210px;
  }

  .route-card {
    min-height: 300px;
    padding: 30px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-card:last-child {
    border-bottom: 0;
  }

  .route-card h3 {
    margin-top: 56px;
    font-size: 25px;
  }

  .cta-inner,
  .copyright {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .content-header {
    padding: 62px 0 54px;
  }

  .content-header h1 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.3;
  }

  .content-header > p:not(.section-kicker) {
    font-size: 15px;
  }

  .content-hero::after {
    top: -40px;
    right: -120px;
  }

  .step {
    padding: 0 0 44px 52px;
  }

  .step::before {
    left: -21px;
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .step h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
