:root {
  --bg: #e6ebf0;
  --bg-2: #f3f5f7;
  --ink: #12161c;
  --muted: #5a6573;
  --line: rgba(18, 22, 28, 0.12);
  --brass: #b08a4f;
  --brass-2: #8f6e3a;
  --teal: #1f4f4a;
  --panel: #f7f8fa;
  --hero: #0e1418;
  --header: 3.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Iowan Old Style", "Palatino Linotype", "Songti SC", Georgia, serif;
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans", "Noto Sans SC", system-ui, sans-serif;
  --gutter: max(0.9rem, env(safe-area-inset-left));
  --gutter-r: max(0.9rem, env(safe-area-inset-right));
  --shell: min(1120px, calc(100% - var(--gutter) - var(--gutter-r)));
  --touch: 2.75rem;
  --bottom-bar: calc(4.1rem + env(safe-area-inset-bottom));
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 85% 50% at 12% -10%, rgba(31, 79, 74, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 20%, rgba(176, 138, 79, 0.12), transparent 50%),
    linear-gradient(168deg, #eef2f5 0%, #dde4eb 48%, #d5dde6 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
  padding-bottom: var(--bottom-bar);
  font-size: 16px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.shell { width: var(--shell); margin-inline: auto; }
.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.kicker--light { color: rgba(255, 248, 235, 0.78); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.55rem;
  text-wrap: balance;
}
h2 { font-size: clamp(1.35rem, 6.2vw, 2.2rem); }
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}
.muted { color: var(--muted); }
.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
  font-weight: 560;
}
.hint, .warn, .empty { color: var(--muted); font-size: 0.9rem; }
.warn { color: #8a3b2a; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { opacity: 0.88; }
.btn--sm { min-height: 2.5rem; padding: 0.45rem 0.85rem; font-size: 0.72rem; }
.btn--gold { background: var(--brass); color: #12161c; }
.btn--ink { background: var(--teal); color: #f4f7f6; }
.btn--ghost { border-color: rgba(18, 22, 28, 0.28); }
.btn--ghost-light {
  border-color: rgba(255, 248, 235, 0.45);
  color: #f8f4ec;
}
.btn--block { width: 100%; }
.row-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.banner {
  background: var(--teal);
  color: #f4f7f6;
  font-size: 0.78rem;
}
.banner[hidden] { display: none !important; }
.banner__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  line-height: 1.35;
}
.banner__inner button {
  color: inherit;
  font-size: 1.25rem;
  min-width: 2rem;
  min-height: 2rem;
  opacity: 0.85;
  flex-shrink: 0;
}

/* —— 顶栏：手机默认 —— */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-inline: var(--gutter) var(--gutter-r);
  padding-top: env(safe-area-inset-top);
  background: rgba(243, 245, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__left { display: none; }
.hdr__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}
.hdr a, .hdr button.link {
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.03em;
  min-height: var(--touch);
  padding: 0 0.45rem;
  display: inline-flex;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: var(--touch);
}
.brand svg { width: 1.2rem; height: 1.2rem; }
.lang { position: relative; }
.lang__menu {
  position: fixed;
  inset: auto var(--gutter-r) auto auto;
  top: calc(var(--header) + env(safe-area-inset-top) + 0.35rem);
  width: min(14rem, calc(100vw - 2rem));
  max-height: min(60dvh, 22rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(18, 22, 28, 0.14);
  display: grid;
  padding: 0.35rem;
  z-index: 80;
}
.lang__menu[hidden] { display: none !important; }
.lang__menu button {
  text-align: start;
  min-height: var(--touch);
  padding: 0.65rem 0.8rem;
  font-size: 0.92rem;
}
.menu-btn { display: inline-flex; }
.hide-sm { display: none !important; }

.nav-sheet {
  display: none;
  position: fixed;
  inset: calc(var(--header) + env(safe-area-inset-top)) 0 auto 0;
  z-index: 70;
  background: rgba(243, 245, 247, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem var(--gutter) 1rem;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-sheet.is-open { display: flex; }
.nav-sheet a {
  font-size: 1.05rem;
  font-weight: 560;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

/* —— 英雄区：手机一屏可读 —— */
.hero {
  position: relative;
  min-height: min(78dvh, 640px);
  display: grid;
  align-items: end;
  color: #f8f4ec;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.88) contrast(1.04) brightness(0.9);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 20, 24, 0.2) 0%, rgba(14, 20, 24, 0.45) 40%, rgba(14, 20, 24, 0.92) 100%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0 1.6rem;
  max-width: 40rem;
  width: var(--shell);
  margin-inline: auto;
}
.hero h1 {
  font-size: clamp(2.6rem, 14vw, 4.2rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.65rem;
  color: #f8f4ec;
}
.hero__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(248, 244, 236, 0.86);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.95rem;
}
.hero__badges span {
  border: 1px solid rgba(248, 244, 236, 0.28);
  padding: 0.4rem 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__badges .is-gold {
  background: rgba(176, 138, 79, 0.95);
  border-color: transparent;
  color: #12161c;
  font-weight: 650;
}

.promo-strip {
  background: var(--ink);
  color: #f5f2ea;
  font-size: 0.84rem;
}
.promo-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.85rem 0;
}
.promo-strip a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 560;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
}

.promo-cd {
  position: fixed;
  inset-inline-end: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(var(--bottom-bar) + 0.55rem);
  z-index: 55;
  min-width: 2.8rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  background: var(--teal);
  color: #f4f7f6;
  font-size: 0.74rem;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(18, 22, 28, 0.18);
}
.promo-cd[hidden] { display: none !important; }
.promo-cd.is-ready { background: var(--brass); color: #12161c; max-width: 11rem; }

.band { padding: 2.2rem 0; }
.band__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}
.trust__list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.trust__list li {
  padding: 0.95rem 1rem;
  background: rgba(247, 248, 250, 0.78);
  border-left: 3px solid var(--brass);
  font-size: 0.95rem;
}
html[dir="rtl"] .trust__list li {
  border-left: 0;
  border-right: 3px solid var(--brass);
}

/* 手机：单列大卡，正反面清晰可读 */
.phone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.phone {
  background: rgba(247, 248, 250, 0.9);
  border: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: 480px;
}
.more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}
.more-wrap .btn { min-width: min(100%, 16rem); }
.phone.is-hl { border-color: var(--brass); }
.phone__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #c5ccd4;
  display: block;
}
.phone__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 1px;
  background: rgba(18, 22, 28, 0.12);
}
.phone__pair figure {
  margin: 0;
  position: relative;
  background: #d5dae0;
  overflow: hidden;
}
.phone__pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.phone__pair figcaption {
  position: absolute;
  inset-inline-start: 0.35rem;
  bottom: 0.35rem;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.4rem;
  background: rgba(18, 22, 28, 0.72);
  color: #f4f1ea;
}
.phone__media > img { display: none; }
.phone__tag,
.phone__grade {
  position: absolute;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.45rem;
  line-height: 1;
}
.phone__tag {
  inset-inline-start: 0.45rem;
  top: 0.45rem;
  background: rgba(18, 22, 28, 0.72);
  color: #f4f1ea;
}
.phone__grade {
  inset-inline-end: 0.45rem;
  top: 0.45rem;
  background: rgba(176, 138, 79, 0.95);
  color: #12161c;
}
.phone__body { padding: 0.9rem 0.9rem 1rem; }
.phone__body em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.phone__body h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}
.phone__meta { margin: 0 0 0.55rem; font-size: 0.84rem; color: var(--muted); }
.phone__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.phone__price b { font-size: 1.15rem; }
.phone__price s { color: var(--muted); font-size: 0.88rem; }
.phone__body .btn { width: 100%; }

.desk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}
.desk {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(247, 248, 250, 0.85);
  border: 1px solid var(--line);
}
.desk .btn { width: 100%; }
.desk em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.desk h3 { font-size: 1.1rem; margin: 0.15rem 0 0.3rem; }
.desk p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.desk__km { margin-top: 0.3rem !important; color: var(--teal) !important; font-weight: 560; }
.desks-note { margin-top: 0.65rem; color: var(--muted); font-size: 0.88rem; }
.desk--radio {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  min-height: var(--touch);
}
.desk--radio input {
  margin-top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
}

.filters { display: grid; gap: 1rem; margin: 1.1rem 0 1.35rem; }
.filter > span {
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
  margin-inline: calc(var(--gutter) * -0.15);
  padding-inline: 0.1rem;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: var(--touch);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(247, 248, 250, 0.85);
  font-size: 0.84rem;
  font-weight: 550;
  white-space: nowrap;
}
.chip.is-on {
  background: var(--teal);
  border-color: var(--teal);
  color: #f4f7f6;
}

.crumb, .steps {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.crumb::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
.crumb b { color: var(--ink); font-weight: 600; }
.steps { gap: 0.35rem; padding-bottom: 0.2rem; }
.steps a {
  flex: 0 0 auto;
  min-height: 2.4rem;
  padding: 0.45rem 0.65rem;
  border-bottom: 2px solid transparent;
  font-weight: 560;
  white-space: nowrap;
}
.steps a.is-on {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.form-shell { max-width: 40rem; }
.form { display: grid; gap: 0.9rem; margin-top: 1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.9rem; }
.form label span { color: var(--muted); font-size: 0.78rem; }
.form input {
  min-height: var(--touch);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(247, 248, 250, 0.95);
  font-size: 16px; /* 防 iOS 自动放大 */
  border-radius: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.mode { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.mode__opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--touch);
  padding: 0.85rem 0.95rem;
  background: rgba(247, 248, 250, 0.85);
  border: 1px solid var(--line);
}
.mode__opt input { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.mode__opt.is-locked { opacity: 0.55; }
.picked {
  margin: 0.75rem 0;
  padding: 0.85rem 0.95rem;
  background: rgba(31, 79, 74, 0.08);
  border-left: 3px solid var(--teal);
  font-size: 0.95rem;
}
html[dir="rtl"] .picked {
  border-left: 0;
  border-right: 3px solid var(--teal);
}

.site-foot {
  margin-top: 1.5rem;
  padding: 1.6rem 0 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.site-foot__inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.site-foot b {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

/* 手机底部快捷栏 */
.m-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-height: var(--bottom-bar);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
  background: rgba(247, 248, 250, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(18, 22, 28, 0.06);
}
.m-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
  padding: 0.2rem;
}
.m-bar a em {
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
}
.m-bar a.is-hot {
  color: var(--teal);
}
.m-bar a.is-hot em { color: var(--teal); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— 平板及以上 —— */
@media (min-width: 640px) {
  .phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-btns {
    grid-template-columns: 1fr 1fr;
  }
  .hero { min-height: min(82dvh, 720px); }
  .hero__copy { padding: 4rem 0 2.2rem; }
}

@media (min-width: 860px) {
  :root { --header: 3.5rem; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .m-bar { display: none; }
  .menu-btn { display: none; }
  .hdr {
    grid-template-columns: 1fr auto 1fr;
  }
  .hdr__left {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
  }
  .hdr__right { gap: 0.75rem; }
  .hide-sm { display: inline-flex !important; }
  .phone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .desk {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .desk .btn { width: auto; }
  .desk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 3.2rem 0; }
  .band__head {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
  .promo-strip__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .chips { flex-wrap: wrap; overflow: visible; }
  .phone__media { aspect-ratio: 4 / 5; }
  .site-foot__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }
  .lang__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.4rem);
    inset-inline-start: auto;
  }
  body {
    background-attachment: fixed;
  }
}

@media (min-width: 1100px) {
  .phone-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero {
    min-height: min(90vh, 820px);
  }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 5.8rem); }
  .btn--gold:hover { background: var(--ink); color: #f5f2ea; }
  .btn--ink:hover { background: var(--ink); }
  .btn--ghost:hover { background: var(--ink); color: #f5f2ea; }
  .btn--ghost-light:hover { background: rgba(255, 248, 235, 0.12); }
  .phone:hover { border-color: rgba(176, 138, 79, 0.45); transform: translateY(-2px); }
}

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