:root {
  --orange: #ff6b35;
  --orange-soft: #ff9a3d;
  --cream: #fff9f5;
  --surface: #ffffff;
  --surface-soft: #fff0e6;
  --text: #2d2320;
  --muted: #7a6a5f;
  --line: #f3e4d8;
  --green: #23845e;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); }
body { margin: 0; background: var(--cream); }
a { color: inherit; }

.brandbar {
  padding: 18px 18px 0;
}

.brandbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(115deg, var(--orange), var(--orange-soft));
  box-shadow: 0 6px 18px rgba(180, 90, 30, .14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 12px;
  background: #fff;
}

.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 19px; line-height: 1.2; }
.brand small { font-size: 12px; opacity: .92; }

.back-home {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  background: #fff;
  color: #f04e1f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

main {
  display: grid;
  gap: 16px;
  width: min(calc(100% - 36px), 900px);
  margin: 28px auto 0;
}

.intro,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(180, 90, 30, .08);
}

.intro { padding: 34px 36px; }
.eyebrow {
  margin: 0 0 10px;
  color: #f04e1f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

h1, h2, p { overflow-wrap: anywhere; }
h1 { max-width: 760px; margin: 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.28; }
.intro > p:not(.eyebrow) { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.intro .scope-note {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef8f3;
  color: var(--green) !important;
  font-size: 14px !important;
  font-weight: 700;
}

.contact-card { padding: 30px 36px 10px; }
.section-heading { margin-bottom: 8px; }
h2 { margin: 0; font-size: 23px; line-height: 1.35; }
.contact-list { margin: 18px 0 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-list dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.contact-list dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.75; }
.contact-list dd a { color: #d9481d; text-underline-offset: 3px; }

footer {
  display: grid;
  gap: 2px;
  padding: 28px 16px calc(28px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}
footer p { margin: 0; }
footer a { color: inherit; text-underline-offset: 2px; }
.public-security-record { display: inline-flex; align-items: center; gap: 5px; }
.public-security-record span { display: inline-grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: #173a61; color: #ffb23f; font-size: 8px; font-weight: 900; }

a:focus-visible {
  outline: 3px solid rgba(255, 107, 53, .42);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .brandbar { padding: 0; }
  .brandbar-inner { padding: 11px 12px 13px; border-radius: 0 0 18px 18px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  .back-home { min-height: 44px; padding: 0 12px; font-size: 12px; }
  main { width: min(calc(100% - 24px), 900px); margin-top: 16px; gap: 12px; }
  .intro, .contact-card { padding: 22px 20px; }
  h1 { font-size: 25px; }
  .intro > p:not(.eyebrow) { margin-top: 14px; font-size: 14px; line-height: 1.75; }
  h2 { font-size: 20px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 6px; padding: 15px 0; }
  .contact-list dt { font-size: 12px; }
  .contact-list dd { font-size: 14px; line-height: 1.7; }
}

@media (max-width: 370px) {
  .brand small { display: none; }
  .back-home { padding: 0 10px; }
}

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