:root {
  --ink: #211b19;
  --muted: #6f6662;
  --paper: #fffdf9;
  --surface: #ffffff;
  --line: #e8dfd8;
  --chestnut: #5b2d26;
  --chestnut-dark: #3c1c18;
  --yellow: #ffc61c;
  --orange: #ee6b2f;
  --teal: #18786f;
  --teal-soft: #e5f4f1;
  --shadow: 0 18px 48px rgba(68, 38, 26, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 8px 14px;
  color: #fff;
  background: var(--chestnut-dark);
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(91, 45, 38, 0.1);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
}

.nav-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 20px;
  font-weight: 900;
  color: var(--chestnut-dark);
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.site-nav a:not(.btn) {
  position: relative;
  padding: 10px 13px;
  color: #514844;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.btn)::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 2px solid var(--chestnut-dark);
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--chestnut-dark);
  color: var(--chestnut-dark);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  box-shadow: 2px 2px 0 var(--chestnut-dark);
  transform: translate(2px, 2px);
}

.btn-secondary {
  background: #fff;
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  box-shadow: 3px 3px 0 var(--chestnut-dark);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff8e7;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(91, 45, 38, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 45, 38, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 64px;
  padding-block: 62px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  width: 26px;
  height: 4px;
  background: var(--teal);
  content: "";
}

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

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

h1 {
  max-width: 660px;
  margin-bottom: 20px;
  color: var(--chestnut-dark);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 950;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #4f4743;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

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

.fact-row li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.phone-stage {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  justify-content: center;
}

.phone {
  width: min(48%, 250px);
  padding: 8px;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

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

.phone:first-child {
  z-index: 2;
  transform: rotate(-3deg) translateY(-6px);
}

.phone:last-child {
  margin-left: -34px;
  transform: rotate(5deg) translateY(28px);
}

.mini-note {
  position: absolute;
  top: 48px;
  right: 0;
  width: 165px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--teal-soft);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  transform: rotate(3deg);
}

.section {
  padding-block: 88px;
}

.section-compact {
  padding-block: 62px;
}

.section-dark {
  color: #fff;
  background: var(--chestnut-dark);
}

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

.section-yellow {
  background: #ffe88c;
}

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

.section-head h2,
.split-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.section-head .text-link {
  flex: none;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--surface);
  max-width: var(--max);
  margin-inline: auto;
}

.feature-strip article {
  min-height: 180px;
  padding: 28px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip strong {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 30px;
}

.feature-strip h2,
.feature-strip h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

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

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

.preview-item {
  margin: 0;
}

.preview-frame {
  overflow: hidden;
  padding: 9px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 7px 7px 0 #d9cfc8;
}

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

.preview-item figcaption {
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.preview-item b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 17px;
}

.route-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.route-card {
  display: grid;
  min-height: 300px;
  align-content: space-between;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

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

.route-card h3 {
  max-width: 430px;
  margin-bottom: 14px;
  font-size: 30px;
}

.route-card p {
  max-width: 520px;
  color: #554b46;
}

.route-card .text-link {
  justify-self: start;
}

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

blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

blockquote p {
  margin-bottom: 22px;
  font-size: 16px;
}

blockquote cite {
  color: #ffd758;
  font-style: normal;
  font-weight: 800;
}

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

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

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

.faq-question span:last-child {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  transition: transform 180ms ease;
}

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

.faq-answer {
  max-width: 830px;
  padding: 0 50px 22px 0;
  color: var(--muted);
}

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

.download-band {
  border-block: 2px solid var(--ink);
  background: var(--yellow);
}

.download-row {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-row h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 5vw, 52px);
}

.download-row p {
  max-width: 660px;
  margin-bottom: 0;
}

.download-row .btn {
  flex: none;
  background: #fff;
}

.site-footer {
  padding-block: 54px 28px;
  color: #d9d0cc;
  background: #211b19;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 36px;
}

.footer-brand {
  color: #fff;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 17px;
}

.footer-grid p,
.footer-grid a {
  color: #c6bbb6;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 22px;
  color: #a89d98;
  font-size: 13px;
}

.page-hero {
  border-bottom: 2px solid var(--ink);
  background: #fff8e7;
}

.page-hero .container {
  display: grid;
  min-height: 420px;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 70px;
  padding-block: 68px;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.page-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 12px 12px 0 var(--teal);
  color: var(--chestnut-dark);
  font-size: 86px;
  font-weight: 950;
}

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

.article-flow > * + * {
  margin-top: 30px;
}

.article-flow h2 {
  margin-top: 58px;
  margin-bottom: 18px;
  font-size: clamp(27px, 4vw, 40px);
}

.article-flow h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.article-flow p,
.article-flow li {
  color: #544b47;
}

.article-flow a:not(.btn) {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.side-note {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--teal-soft);
  box-shadow: 7px 7px 0 var(--ink);
}

.side-note h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

.side-note ol,
.side-note ul {
  margin: 0;
  padding-left: 20px;
}

.side-note a {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.step-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  background: #fff;
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--chestnut-dark);
  font-size: 20px;
  font-weight: 950;
}

.step-card p:last-child {
  margin-bottom: 0;
}

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

.check-card,
.feature-detail {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.check-card strong,
.feature-detail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--chestnut);
  font-size: 17px;
}

.check-card p,
.feature-detail p {
  margin-bottom: 0;
  font-size: 14px;
}

.inline-shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  align-items: center;
  gap: 42px;
  margin-block: 38px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff8e7;
}

.inline-shot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 8px solid var(--ink);
  border-radius: 22px;
}

.callout {
  padding: 24px;
  border-left: 6px solid var(--teal);
  background: var(--teal-soft);
}

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--chestnut-dark);
  color: #fff;
}

.faq-page .faq-question {
  font-size: 18px;
}

.faq-page .faq-answer {
  max-width: 920px;
}

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

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    min-height: calc(100vh - 76px);
    align-content: start;
    align-items: stretch;
    padding: 26px 20px;
    background: var(--paper);
  }

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

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

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }

  .mini-note {
    display: none;
  }

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

  .feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .feature-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
  }

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

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

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

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 48px 58px;
  }

  h1 {
    font-size: 45px;
  }

  .lead {
    font-size: 16px;
  }

  .phone-stage {
    min-height: 420px;
    justify-content: center;
  }

  .phone {
    width: min(51%, 210px);
  }

  .section {
    padding-block: 64px;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    display: inline-block;
    margin-top: 14px;
  }

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

  .feature-strip article,
  .feature-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .preview-frame {
    padding: 5px;
    box-shadow: 4px 4px 0 #d9cfc8;
  }

  .preview-item figcaption {
    font-size: 12px;
  }

  .preview-item b {
    font-size: 15px;
  }

  .download-row {
    min-height: 280px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .page-hero .container {
    min-height: 380px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-mark {
    width: 150px;
    font-size: 50px;
  }

  .inline-shot {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .inline-shot img {
    max-width: 280px;
    justify-self: center;
  }

  .step-card {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px 16px;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .table-wrap {
    overflow-x: auto;
  }
}

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