:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --ink: #221a13;
  --muted: #6c6f73;
  --line: #e7e2d8;
  --brand: #fe9103;
  --brand-dark: #7a4300;
  --navy: #263344;
  --navy-soft: #edf2f6;
  --peach: #ffe5bf;
  --soft: #fff2dd;
  --ok: #167056;
  --warn: #a86100;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(38, 51, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 51, 68, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 78%);
}

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

a {
  transition:
    background-color 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(231, 226, 216, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 1px;
  font-weight: 900;
  font-size: 18px;
}

.brand-symbol {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: auto;
  object-fit: contain;
}

.brand-wordmark {
  grid-column: 2;
  grid-row: 1;
  width: 92px;
  height: auto;
  object-fit: contain;
}

.brand-slogan {
  grid-column: 1 / span 2;
  grid-row: 2;
  justify-self: center;
  color: #6b4a2b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-slogan-cn {
  justify-self: stretch;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.links a {
  padding: 6px 8px;
  border-radius: 8px;
}

.links a:hover {
  color: var(--ink);
  background: var(--soft);
}

.links a:last-child {
  color: var(--ink);
  font-weight: 800;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.language-switch .active {
  background: var(--navy);
  color: #fff;
}

.links .language-switch a:last-child {
  color: var(--muted);
}

.hero {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--brand-dark);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.value-line {
  color: var(--brand-dark);
  font-size: 14px;
  text-transform: none;
}

.value-line span {
  display: inline-block;
  margin: 0 3px;
  font-size: 18px;
  line-height: 0;
  transform: translateY(1px);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 680px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  margin: 0 0 18px;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  margin: 0 0 14px;
}

.lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 610px;
}

.signal {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  box-shadow: 0 10px 30px rgba(122, 67, 0, 0.06);
}

.signal strong {
  display: block;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.1;
}

.signal span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(34, 26, 19, 0.05);
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 14px 34px rgba(254, 145, 3, 0.24);
}

.button:hover,
.button.primary:hover {
  background: var(--soft);
  border-color: #e0b77c;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(122, 67, 0, 0.08);
}

.language-switch a:hover,
.contact-card:hover {
  background: var(--soft);
  border-color: #e0b77c;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(122, 67, 0, 0.08);
}

.hero-media {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(38, 51, 68, 0.12);
  border-radius: 50%;
  transform: translate(42px, -18px);
}

.phone-stack {
  position: relative;
  width: min(510px, 88vw);
  height: 560px;
}

.phone {
  display: block;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 90px rgba(38, 51, 68, 0.18);
  background: var(--paper);
}

.phone-main {
  position: absolute;
  z-index: 2;
  left: 34px;
  top: 8px;
  width: 300px;
}

.phone-back {
  position: absolute;
  right: 34px;
  top: 70px;
  width: 238px;
  opacity: 0.52;
  filter: saturate(0.86);
}

.hero-qr-card {
  position: absolute;
  right: 16px;
  bottom: 86px;
  z-index: 3;
  width: min(330px, 86vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: 0 18px 48px rgba(38, 51, 68, 0.12);
}

.hero-qr-card img {
  display: block;
  width: 94px;
  height: 94px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-qr-card strong {
  display: inline-flex;
  color: var(--brand-dark);
  font-size: 18px;
}

.hero-qr-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 3px 0 0;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 78px auto 0;
  scroll-margin-top: 96px;
}

.band {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 78px;
  padding: 58px 0;
}

.band > .section {
  margin-top: 0;
}

.band .question {
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 38px rgba(122, 67, 0, 0.05);
}

.route-card.selected {
  background: var(--soft);
}

.route-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.route-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand);
}

.route-card:nth-child(2):before {
  background: var(--navy);
}

.route-card:nth-child(3):before {
  background: var(--ok);
}

.route-title {
  font-size: 24px;
  font-weight: 900;
}

.route-builder {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 12px 38px rgba(122, 67, 0, 0.05);
}

.route-builder h3 {
  margin: 10px 0 6px;
}

.route-builder p {
  max-width: 760px;
  color: var(--muted);
  margin: 0;
}

.route-builder .button {
  flex: 0 0 auto;
  margin-top: 0;
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 13px;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.question {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.question:hover,
.route-card:hover {
  border-color: #e0b77c;
  box-shadow: 0 14px 34px rgba(122, 67, 0, 0.08);
}

a.card:hover,
.route-card:hover {
  background: var(--soft) !important;
}

.question:hover {
  background: var(--soft);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.step:before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.mini-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 60px rgba(38, 51, 68, 0.08);
}

.qr {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.mini-code {
  width: min(320px, 100%);
  justify-self: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(38, 51, 68, 0.08);
}

.mobile-sticky-cta {
  display: none;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 28px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 20px 70px rgba(38, 51, 68, 0.16);
}

.contact-panel h2 {
  max-width: 660px;
  margin-top: 12px;
}

.contact-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
}

.contact-card strong {
  font-size: 18px;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.76);
  word-break: break-word;
}

.contact-card:hover span,
.contact-card:hover strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  padding: 11px 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(254, 145, 3, 0.18);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  min-width: 112px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(254, 145, 3, 0.22);
  -webkit-font-smoothing: auto;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.article {
  width: min(860px, calc(100% - 32px));
  margin: 46px auto 0;
}

.article h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.article .card {
  margin-top: 16px;
}

.article-figure {
  margin: 28px 0;
  padding: 12px;
  background: var(--paper);
  border: 1px solid #f5ca8e;
  border-radius: 8px;
  overflow: hidden;
}

.article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.media-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.media-action {
  display: grid;
  gap: 5px;
  min-height: 112px;
  align-content: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 12px 38px rgba(122, 67, 0, 0.05);
}

.media-action strong {
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.2;
}

.media-action span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.media-action:hover {
  background: var(--soft);
  border-color: #e0b77c;
  box-shadow: 0 14px 34px rgba(122, 67, 0, 0.08);
}

.article-section-title {
  margin: 48px 0 4px;
}

.article-section-title h2 {
  margin-top: 10px;
}

.article-bottom-actions {
  margin-top: 34px;
}

.inline-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(254, 145, 3, 0.45);
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--warn);
  background: var(--soft);
}

.notice {
  background: #fff7e8;
  border: 1px solid #ffd99d;
  color: var(--warn);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 800;
}

.application-grid {
  margin: 22px 0;
}

.application-contact {
  margin-top: 22px;
  grid-template-columns: 1fr;
  align-items: flex-start;
}

.application-contact h2 {
  max-width: 760px;
  overflow-wrap: anywhere;
}

.application-contact .contact-grid {
  width: min(520px, 100%);
}

.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 72px auto 32px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.footer-identity,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 10px;
}

.footer-identity strong {
  color: var(--ink);
}

.footer-identity span,
.footer-links a {
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .hero,
  .mini-entry,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-media {
    min-height: 520px;
  }

  .phone-stack {
    width: min(360px, 92vw);
    height: 500px;
  }

  .phone-main {
    width: 260px;
    left: 6px;
  }

  .phone-back {
    width: 210px;
    right: 0;
  }

  .hero-qr-card {
    right: auto;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
  }

  .grid,
  .media-action-grid,
  .question-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .route-builder {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    padding-bottom: 76px;
  }

  .hero {
    margin-top: 30px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .lead {
    font-size: 16px;
  }

  .links {
    gap: 10px;
  }

  .brand-symbol {
    width: 48px;
  }

  .brand-wordmark {
    width: 86px;
  }

  .hero-media {
    min-height: 480px;
  }

  .phone-stack {
    width: 320px;
    height: 460px;
  }

  .phone-main {
    width: 238px;
  }

  .phone-back {
    width: 188px;
    top: 78px;
  }

  .hero-qr-card {
    grid-template-columns: 76px 1fr;
    width: calc(100vw - 32px);
  }

  .hero-qr-card img {
    width: 76px;
    height: 76px;
  }
}

.mobile-sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  padding: 0 22px;
  box-shadow: 0 16px 34px rgba(254, 145, 3, 0.28);
}

.icp {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.icp a:hover {
  color: var(--brand);
}

@media (max-width: 520px) {
  .mobile-sticky-cta {
    right: 16px;
    bottom: 14px;
    left: 16px;
    min-height: 52px;
    padding: 0 16px;
  }
}
