:root {
  --paper: #f4f1e9;
  --surface: #fffdf8;
  --ink: #202428;
  --muted: #686d70;
  --line: #c9c4b8;
  --red: #c94135;
  --red-dark: #9e2e26;
  --teal: #176a65;
  --gold: #c58920;
  --shadow: 0 12px 32px rgba(32, 36, 40, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  padding-bottom: 92px;
}

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;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 233, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 19px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  background: var(--red);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

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

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.header-mark {
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

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

.hero {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
}

.hero-copy {
  padding: 90px 7vw 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-code {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
}

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

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

h1 {
  max-width: 780px;
  margin: 18px 0 24px;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
}

.hero-copy > p {
  max-width: 720px;
  color: #4d5356;
  font-size: 18px;
}

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

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-weight: 800;
}

.button {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.hero-index {
  padding: 48px 0 48px 48px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-board {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.index-board header,
.index-board li,
.index-board footer {
  border-bottom: 1px solid #4b5053;
}

.index-board header,
.index-board footer {
  padding: 18px 20px;
}

.index-board header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #f5d9d6;
  font-size: 12px;
  font-weight: 800;
}

.index-board ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: city;
}

.index-board li {
  counter-increment: city;
}

.index-board li a {
  min-height: 62px;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
}

.index-board li a::before {
  content: "0" counter(city);
  color: #e68e85;
  font-size: 12px;
}

.index-board li a::after {
  content: "↗";
  color: #e7bb62;
}

.index-board li a:hover {
  background: var(--teal);
}

.index-board footer {
  border-bottom: 0;
  color: #cfd2d2;
  font-size: 12px;
}

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 102px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 1px solid var(--line);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

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

.section-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
}

.section-head p {
  max-width: 760px;
  color: var(--muted);
}

.directory {
  border-top: 1px solid var(--ink);
}

.directory-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 112px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.directory-row .label {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.directory-row h3 {
  margin-bottom: 5px;
  font-size: 22px;
}

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

.directory-row > a:last-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-size: 20px;
}

.directory-row:hover > a:last-child {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

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

.topic-card {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-card b {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 12px;
}

.topic-card h3 {
  font-size: 21px;
}

.topic-card p {
  color: var(--muted);
  font-size: 14px;
}

.topic-card a {
  font-weight: 800;
}

.topic-card a:hover {
  color: var(--red);
}

.notice-band {
  background: var(--teal);
  color: #fff;
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 60px;
  padding: 58px 0;
}

.notice-layout h2 {
  font-size: 34px;
}

.notice-layout p {
  color: #d8efed;
}

.notice-layout ul {
  margin: 0;
  padding-left: 20px;
}

.crumbs {
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a:hover {
  color: var(--red);
}

.page-hero {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 60px);
}

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

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 64px;
  padding: 56px 0 72px;
}

.article h2 {
  margin: 46px 0 14px;
  font-size: 30px;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.article p,
.article li {
  color: #444a4d;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article-note {
  margin: 28px 0;
  padding: 22px 24px;
  background: #e5f0ec;
  border: 1px solid #9bb9b5;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 34px;
  background: var(--surface);
}

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

.fact-table th {
  width: 26%;
  background: #e8e4da;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 102px;
  padding-top: 14px;
  border-top: 3px solid var(--red);
}

.article-aside strong {
  display: block;
  margin-bottom: 12px;
}

.article-aside a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-aside a:hover {
  color: var(--red);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter-bar button {
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"],
.filter-bar button:hover {
  background: var(--ink);
  color: #fff;
}

.city-list {
  border-top: 1px solid var(--ink);
}

.city-entry {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.city-entry[hidden] {
  display: none;
}

.city-entry .zone {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.city-entry h2 {
  margin: 0 0 4px;
  font-size: 23px;
}

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

.city-entry > a:last-child {
  font-weight: 800;
  color: var(--red);
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 42px 18px 0;
  font-weight: 800;
}

.faq-list details p {
  max-width: 820px;
  padding: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(120px, 0.7fr));
  gap: 36px;
  padding: 54px 0 40px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 900;
}

.footer-main p {
  max-width: 420px;
  color: #bfc4c4;
  font-size: 13px;
}

.footer-col strong,
.footer-col a {
  display: block;
}

.footer-col strong {
  margin-bottom: 12px;
  color: #ecafa9;
  font-size: 12px;
}

.footer-col a {
  padding: 4px 0;
  color: #d4d8d8;
  font-size: 13px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid #42474a;
  color: #aeb3b4;
  font-size: 12px;
}

.site-cta {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 640px);
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(26, 24, 22, 0.28);
  font-weight: 900;
}

.site-cta::before {
  content: "寻";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  border-radius: 50%;
}

.site-cta::after {
  content: "→";
  font-size: 22px;
}

.site-cta:hover,
.site-cta:focus-visible {
  background: var(--red-dark);
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-mark {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .hero-grid,
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 64px 0 40px;
  }

  .hero-index {
    padding: 0 0 52px;
    border-left: 0;
  }

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

  .trust-item:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-aside {
    position: static;
    order: -1;
  }

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

@media (max-width: 620px) {
  body {
    padding-bottom: 84px;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .trust-grid,
  .topic-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 54px 0;
  }

  .directory-row,
  .city-entry {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
  }

  .directory-row .label,
  .city-entry .zone {
    grid-column: 1 / -1;
  }

  .page-hero {
    padding: 42px 0 34px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .article-layout {
    padding-top: 38px;
  }

  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td {
    display: block;
    width: 100%;
  }

  .fact-table th {
    border-bottom: 0;
  }

  .site-cta {
    bottom: 9px;
    width: calc(100% - 18px);
    min-height: 56px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
