:root {
  --ink: #102525;
  --ink-deep: #09191a;
  --paper: #f2eee7;
  --card: #fffdf9;
  --red: #e65332;
  --red-dark: #cb3e23;
  --gold: #d89a45;
  --muted: #687574;
  --line: rgba(16, 37, 37, 0.1);
  --shadow: 0 16px 36px rgba(16, 37, 37, 0.09);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #dfe4e1;
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }

.app-shell {
  width: min(100%, 560px);
  min-height: 100svh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 50px rgba(16, 37, 37, 0.14);
}

.app-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: env(safe-area-inset-top, 0px) 16px 0;
  background: rgba(9, 25, 26, 0.97);
  color: #fff;
  backdrop-filter: blur(18px);
}

.app-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(239, 195, 125, 0.7);
  border-radius: 12px;
  color: #efc37d;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 12px;
  font-weight: 800;
}
.app-brand > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.app-brand strong { font-size: 16px; line-height: 1.15; letter-spacing: 0.04em; }
.app-brand small { margin-top: 3px; overflow: hidden; color: rgba(255,255,255,.52); font-size: 8px; white-space: nowrap; }
.online-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.76);
  font-size: 9px;
  font-weight: 700;
}
.online-state i { width: 6px; height: 6px; border-radius: 50%; background: #66d59a; box-shadow: 0 0 0 3px rgba(102,213,154,.12); }
.desktop-entry {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  color: rgba(255,255,255,.38);
  font-size: 9px;
}
.desktop-entry:hover { color: rgba(255,255,255,.68); }

main { padding-bottom: 22px; }
.mobile-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 20px 42px;
  background:
    radial-gradient(circle at 88% 15%, rgba(216,154,69,.22), transparent 29%),
    linear-gradient(150deg, #0b2021, #153536 70%, #102525);
  color: #fff;
}
.mobile-hero::after {
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(239,195,125,.2);
  border-radius: 50%;
  content: "";
}
.hero-badges { position: relative; z-index: 2; display: flex; gap: 7px; }
.hero-badges span {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 700;
}
.hero-kicker {
  position: relative;
  z-index: 2;
  margin: 20px 0 8px;
  color: #efc37d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.mobile-hero h1 {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(39px, 11.5vw, 55px);
  line-height: 1.08;
  letter-spacing: -.06em;
}
.mobile-hero h1 em { color: #efc37d; font-style: normal; }
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}
.primary-call {
  position: relative;
  z-index: 2;
  min-height: 70px;
  display: grid;
  grid-template-columns: 43px 1fr 18px;
  align-items: center;
  gap: 12px;
  border-radius: 17px;
  padding: 10px 14px;
  background: var(--red);
  box-shadow: 0 16px 30px rgba(198,60,32,.28);
}
.call-symbol {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.15);
  font-size: 14px;
  font-weight: 900;
}
.primary-call > span:nth-child(2) { display: flex; flex-direction: column; }
.primary-call small { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 700; }
.primary-call strong { margin-top: 1px; font-size: 22px; letter-spacing: .035em; line-height: 1.2; }
.primary-call > b { font-size: 28px; font-weight: 300; }
.hero-note {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.hero-note span { display: flex; flex-direction: column; color: rgba(255,255,255,.48); font-size: 9px; }
.hero-note b { margin-bottom: 1px; color: #fff; font-size: 13px; }

.quick-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -17px 14px 0;
  overflow: hidden;
  border-radius: 19px;
  background: var(--line);
  box-shadow: var(--shadow);
}
.quick-panel a {
  min-width: 0;
  min-height: 112px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 12px 6px;
  background: var(--card);
  text-align: center;
}
.quick-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.quick-icon.warm { background: #fce9df; color: var(--red); }
.quick-icon.green { background: #e3f1eb; color: #297b5c; }
.quick-icon.blue { background: #e5edf6; color: #356b9d; }
.quick-panel strong { font-size: 12px; }
.quick-panel small { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 8px; white-space: nowrap; }

.app-section { padding: 30px 14px 0; scroll-margin-top: 74px; }
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 14px;
}
.section-title small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.section-title h2 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.035em; }
.section-title > a { color: var(--muted); font-size: 9px; }

.service-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.service-app-grid a {
  min-height: 116px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  border: 1px solid rgba(16,37,37,.06);
  border-radius: 18px;
  padding: 15px 13px;
  background: var(--card);
  box-shadow: 0 7px 18px rgba(16,37,37,.045);
}
.service-app-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 14px;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}
.service-app-grid strong { align-self: end; font-size: 13px; }
.service-app-grid small { color: var(--muted); font-size: 9px; }
.tone-red { background: #fbe7df; color: #d54b2d; }
.tone-gold { background: #f7ecd8; color: #a97024; }
.tone-teal { background: #e0efea; color: #26765a; }
.tone-blue { background: #e1ebf5; color: #376d9c; }
.tone-purple { background: #eee6f2; color: #7d568d; }
.tone-slate { background: #e8ecec; color: #506464; }

.urgent-card {
  position: relative;
  min-height: 172px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin: 28px 14px 0;
  overflow: hidden;
  border-radius: 22px;
  padding: 23px 20px;
  background: var(--ink);
  color: #fff;
  scroll-margin-top: 74px;
}
.urgent-copy { position: relative; z-index: 2; max-width: 245px; }
.urgent-copy > span { color: #efc37d; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.urgent-copy h2 { margin: 7px 0; font-size: 24px; }
.urgent-copy p { margin-bottom: 0; color: rgba(255,255,255,.57); font-size: 10px; }
.urgent-card > a {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
}
.urgent-watermark {
  position: absolute;
  right: 16px;
  top: -32px;
  color: rgba(255,255,255,.045);
  font-family: Georgia, serif;
  font-size: 132px;
  font-weight: 900;
  line-height: 1;
}

.product-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(16,37,37,.06);
  border-radius: 22px;
  padding: 14px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(16,37,37,.045);
}
.product-visual {
  position: relative;
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(145deg, #173738, #0b1e1f);
}
.product-shackle {
  position: absolute;
  top: 36px;
  width: 56px;
  height: 62px;
  border: 9px solid #d89a45;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
}
.product-core {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-top: 45px;
  border-radius: 16px;
  background: #d89a45;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 900;
}
.product-label { color: var(--red); font-size: 8px; font-weight: 800; }
.product-card h3 { margin: 5px 0 7px; font-size: 17px; }
.product-card p { margin-bottom: 9px; color: var(--muted); font-size: 9px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.product-tags span { border-radius: 999px; padding: 3px 6px; background: var(--paper); color: var(--muted); font-size: 7px; }

.native-steps {
  margin: 0;
  padding: 4px 0 4px 8px;
  list-style: none;
  background: var(--card);
  border-radius: 20px;
}
.native-steps li {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 6px;
}
.native-steps li:not(:last-child)::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 48px;
  height: 1px;
  background: var(--line);
  content: "";
}
.native-steps b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--ink);
  color: #efc37d;
  font-family: Georgia, serif;
  font-size: 12px;
}
.native-steps span { display: flex; flex-direction: column; }
.native-steps strong { font-size: 13px; }
.native-steps small { margin-top: 2px; color: var(--muted); font-size: 9px; }

.coverage-card {
  margin: 28px 14px 0;
  border-radius: 22px;
  padding: 24px 20px;
  background: linear-gradient(145deg, #e4d4ba, #efe5d5);
  scroll-margin-top: 74px;
}
.coverage-kicker { color: #8d622a; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.coverage-card h2 { max-width: 280px; margin: 7px 0 15px; font-size: 23px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.area-chips span { border: 1px solid rgba(16,37,37,.09); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,.42); font-size: 9px; font-weight: 700; }
.coverage-card p { margin: 14px 0 0; color: rgba(16,37,37,.58); font-size: 9px; }

.native-faq { overflow: hidden; border: 1px solid rgba(16,37,37,.06); border-radius: 20px; background: var(--card); }
.native-faq details:not(:last-child) { border-bottom: 1px solid var(--line); }
.native-faq summary {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 800;
}
.native-faq summary::-webkit-details-marker { display: none; }
.native-faq summary i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-size: 15px;
  font-style: normal;
  transition: transform .18s ease;
}
.native-faq details[open] summary i { transform: rotate(45deg); }
.native-faq p { margin: -2px 42px 14px 15px; color: var(--muted); font-size: 10px; }

.store-card {
  margin: 28px 14px 0;
  border-radius: 22px;
  padding: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  scroll-margin-top: 74px;
}
.store-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.store-pin {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--ink);
  color: #efc37d;
  font-size: 14px;
  font-weight: 900;
}
.store-head small { color: var(--muted); font-size: 8px; }
.store-head h2 { margin: 1px 0 0; font-size: 17px; }
.open-badge { border-radius: 999px; padding: 5px 8px; background: #e4f2eb; color: #277356; font-size: 8px; font-weight: 800; }
.store-card dl { margin: 9px 0 15px; }
.store-card dl div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 7px 0; }
.store-card dt { color: var(--muted); font-size: 9px; }
.store-card dd { margin: 0; font-size: 10px; font-weight: 700; }
.store-card dd a { color: var(--red); font-size: 14px; }
.store-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.store-actions a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 11px;
  font-weight: 800;
}
.store-actions .store-call { border-color: var(--red); background: var(--red); color: #fff; }

.mobile-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 36px 20px calc(98px + var(--safe-bottom));
  color: var(--muted);
  text-align: center;
}
.mobile-footer strong { color: var(--ink); font-size: 15px; }
.mobile-footer p { margin: 5px 0 3px; font-size: 9px; }
.mobile-footer > a { font-size: 9px; }
.footer-desktop-link {
  margin-top: 10px;
  padding: 4px;
  color: #9aa29f;
}
.desktop-entry:focus-visible,
.footer-desktop-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid #efc37d;
  outline-offset: 2px;
}

.bottom-tabs {
  position: fixed;
  right: max(0px, calc((100vw - 560px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 560px) / 2));
  z-index: 70;
  min-height: calc(66px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 5px 7px var(--safe-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255,253,249,.96);
  box-shadow: 0 -10px 26px rgba(16,37,37,.09);
  backdrop-filter: blur(18px);
}
.bottom-tabs a {
  min-height: 56px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-radius: 13px;
  color: #87918f;
  font-size: 8px;
  font-weight: 700;
}
.bottom-tabs i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.bottom-tabs a.active { color: var(--ink); }
.bottom-tabs a.active i { background: #e5ece9; }
.bottom-tabs .call-tab { background: var(--red); color: #fff; }
.bottom-tabs .call-tab i { background: rgba(255,255,255,.14); }

@media (max-width: 370px) {
  .online-state { display: none; }
  .app-bar { grid-template-columns: 1fr auto; }
  .product-card { grid-template-columns: 98px 1fr; }
  .product-visual { min-height: 150px; }
}

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