:root {
  --brand: #ff6b35;
  --brand-2: #ff9f1c;
  --brand-3: #ffd166;
  --accent: #06d6a0;
  --accent-2: #118ab2;
  --bg: #f7f8fc;
  --bg-soft: #eef1f8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.5);
  --text: #1c2233;
  --text-soft: #4a5169;
  --text-mute: #7a8199;
  --border: rgba(28, 34, 51, 0.1);
  --border-strong: rgba(28, 34, 51, 0.18);
  --shadow-sm: 0 2px 8px rgba(28, 34, 51, 0.06);
  --shadow-md: 0 8px 28px rgba(28, 34, 51, 0.1);
  --shadow-lg: 0 18px 48px rgba(28, 34, 51, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --blur: 16px;
  --maxw: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-banner: linear-gradient(135deg, #ff6b35 0%, #ff9f1c 42%, #ffd166 78%, #06d6a0 130%);
  --grad-brand: linear-gradient(120deg, #ff6b35, #ff9f1c);
  --grad-accent: linear-gradient(120deg, #118ab2, #06d6a0);
  --grad-soft: linear-gradient(140deg, rgba(255, 107, 53, 0.14), rgba(6, 214, 160, 0.12));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1017;
    --bg-soft: #141824;
    --surface: rgba(28, 33, 48, 0.66);
    --surface-solid: #1a1f2e;
    --surface-2: rgba(28, 33, 48, 0.42);
    --text: #eef1f8;
    --text-soft: #c3c9da;
    --text-mute: #8b93a9;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
    --grad-banner: linear-gradient(135deg, #b8441c 0%, #c9741a 42%, #a8871f 78%, #0a8f6c 130%);
    --grad-soft: linear-gradient(140deg, rgba(255, 107, 53, 0.18), rgba(6, 214, 160, 0.14));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 8% -6%, rgba(255, 107, 53, 0.14), transparent 62%),
    radial-gradient(760px 480px at 96% 4%, rgba(6, 214, 160, 0.12), transparent 60%),
    radial-gradient(680px 520px at 50% 108%, rgba(17, 138, 178, 0.1), transparent 62%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35em;
}

h1,
h2,
h3 {
  line-height: 1.3;
  color: var(--text);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  margin: 0 0 0.6em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  margin: 0 0 0.7em;
  font-weight: 700;
  position: relative;
  padding-left: 0.72em;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--text);
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

strong {
  color: var(--text);
  font-weight: 700;
}

time {
  color: var(--text-mute);
  font-size: 0.85em;
}

blockquote {
  margin: 0;
  padding: 1.1em 1.3em;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

blockquote p {
  margin: 0 0 0.5em;
  color: var(--text);
}

blockquote footer {
  color: var(--text-mute);
  font-size: 0.9em;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#site-header:hover {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand);
}

.logo svg {
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.logo:hover svg {
  transform: rotate(-12deg) scale(1.08);
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.5);
}

#site-header nav {
  flex: 1 1 auto;
  min-width: 0;
}

#site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}

#site-header nav li {
  margin: 0;
}

#site-header nav a {
  display: inline-block;
  padding: 0.4rem 0.72rem;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

#site-header nav a:hover,
#site-header nav a:focus-visible {
  background: var(--grad-soft);
  color: var(--brand);
  text-decoration: none;
  transform: translateY(-2px);
}

#site-header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

#site-header input[type="search"] {
  width: clamp(150px, 22vw, 240px);
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

#site-header input[type="search"]::placeholder {
  color: var(--text-mute);
}

#site-header input[type="search"]:focus {
  border-color: var(--brand);
  background: var(--surface-solid);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.16);
}

#site-header button[type="submit"] {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.32);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

#site-header button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.45);
  filter: brightness(1.05);
}

#site-header button[type="submit"]:active {
  transform: translateY(0);
}

/* ============ Breadcrumb ============ */
body > nav[aria-label="面包屑导航"] {
  max-width: var(--maxw);
  margin: 1.1rem auto 0;
  padding: 0 1.2rem;
}

body > nav[aria-label="面包屑导航"] ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-mute);
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

body > nav[aria-label="面包屑导航"] li {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

body > nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--text-mute);
}

body > nav[aria-label="面包屑导航"] a {
  color: var(--brand);
}

/* ============ Main layout ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem 1.2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

main > section {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  background: var(--surface);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  animation: rise 0.7s var(--ease) both;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

main > section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

main > section > article {
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

main > section > article:last-child {
  margin-bottom: 0;
}

main > section > article:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.4);
}

main > section > article h3 {
  margin-top: 0;
}

/* ============ Hero ============ */
#hero {
  background: var(--grad-banner);
  color: #fff;
  border: none;
  overflow: hidden;
  padding: clamp(1.8rem, 5vw, 3.4rem);
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 88% 12%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(500px 280px at 6% 92%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.22);
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 72ch;
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}

#hero p:last-child {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  align-items: center;
}

#hero a {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#hero a:hover,
#hero a:focus-visible {
  background: #fff;
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

/* ============ Advantages list ============ */
#advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
}

#advantages li {
  margin: 0;
  padding: 1rem 1.1rem 1rem 2.9rem;
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#advantages li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.18);
}

#advantages li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 214, 160, 0.45);
}

/* ============ Testimonials ============ */
#testimonials blockquote {
  margin-bottom: 0.9rem;
}

#testimonials blockquote:last-child {
  margin-bottom: 0;
}

#testimonials blockquote:hover {
  border-left-color: var(--accent);
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#faq details:last-child {
  margin-bottom: 0;
}

#faq details[open] {
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

#faq summary {
  position: relative;
  padding: 0.95rem 3rem 0.95rem 1.2rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--grad-accent);
  box-shadow: 0 4px 12px rgba(6, 214, 160, 0.35);
}

#faq summary:hover {
  color: var(--brand);
  background: var(--grad-soft);
}

#faq details p {
  margin: 0;
  padding: 0.2rem 1.2rem 1.1rem;
  animation: fade 0.4s var(--ease) both;
}

/* ============ Contact ============ */
#contact address ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.7rem;
}

#contact address li {
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#contact address li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: var(--shadow-sm);
}

/* ============ Sitemap & Links ============ */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: inline-block;
  padding: 0.42rem 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover,
#sitemap a:focus-visible,
#links a:focus-visible {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(255, 107, 53, 0.32);
  text-decoration: none;
}

#links a {
  color: var(--accent-2);
}

#links a:hover {
  background: var(--grad-accent);
  box-shadow: 0 10px 22px rgba(6, 214, 160, 0.3);
}

/* ============ Editorial ============ */
#editorial ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

#editorial li {
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ============ Footer ============ */
footer {
  margin-top: 1.6rem;
  padding: clamp(1.6rem, 4vw, 2.8rem) 1.2rem 1.4rem;
  background: var(--surface);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(28, 34, 51, 0.06);
}

footer > section,
footer > nav {
  max-width: var(--maxw);
  margin: 0 auto 1.3rem;
}

footer h2 {
  font-size: 1.05rem;
  padding-left: 0.7em;
  margin-bottom: 0.5em;
}

footer h2::before {
  width: 4px;
}

footer p {
  font-size: 0.92rem;
  color: var(--text-mute);
}

footer nav ul,
footer section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

footer nav li,
footer section li {
  margin: 0;
}

footer nav a,
footer section ul a {
  font-size: 0.9rem;
  color: var(--text-soft);
  position: relative;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

footer nav a::after,
footer section ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease);
}

footer nav a:hover,
footer section ul a:hover {
  color: var(--brand);
  text-decoration: none;
}

footer nav a:hover::after,
footer section ul a:hover::after {
  width: 100%;
}

footer section#copyright,
footer section#privacy,
footer section#disclaimer,
footer section#security {
  padding: 0.9rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

footer > p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-mute);
}

footer > p small {
  font-size: inherit;
}

/* ============ Animations ============ */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main > section:nth-child(1) { animation-delay: 0.02s; }
main > section:nth-child(2) { animation-delay: 0.06s; }
main > section:nth-child(3) { animation-delay: 0.1s; }
main > section:nth-child(4) { animation-delay: 0.14s; }
main > section:nth-child(5) { animation-delay: 0.18s; }
main > section:nth-child(6) { animation-delay: 0.22s; }
main > section:nth-child(7) { animation-delay: 0.26s; }
main > section:nth-child(8) { animation-delay: 0.3s; }
main > section:nth-child(9) { animation-delay: 0.34s; }
main > section:nth-child(10) { animation-delay: 0.38s; }
main > section:nth-child(11) { animation-delay: 0.42s; }
main > section:nth-child(12) { animation-delay: 0.46s; }
main > section:nth-child(13) { animation-delay: 0.5s; }
main > section:nth-child(14) { animation-delay: 0.54s; }
main > section:nth-child(15) { animation-delay: 0.58s; }
main > section:nth-child(16) { animation-delay: 0.62s; }
main > section:nth-child(17) { animation-delay: 0.66s; }
main > section:nth-child(18) { animation-delay: 0.7s; }
main > section:nth-child(19) { animation-delay: 0.74s; }
main > section:nth-child(20) { animation-delay: 0.78s; }

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

/* ============ Scrollbar ============ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--brand-2), var(--accent));
}

::selection {
  background: rgba(255, 107, 53, 0.28);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .header-inner {
    gap: 0.7rem;
  }

  #site-header nav {
    order: 3;
    flex-basis: 100%;
  }

  #site-header nav ul {
    justify-content: center;
  }

  #site-header form[role="search"] {
    margin-left: auto;
  }

  #site-header input[type="search"] {
    width: clamp(130px, 34vw, 210px);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0.6rem 0.9rem;
  }

  .logo span {
    font-size: 1.05rem;
  }

  #site-header nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  #site-header nav ul::-webkit-scrollbar {
    display: none;
  }

  #site-header nav a {
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 0.35rem 0.6rem;
  }

  #site-header form[role="search"] {
    flex-basis: 100%;
    order: 2;
  }

  #site-header input[type="search"] {
    flex: 1 1 auto;
    width: auto;
  }

  body > nav[aria-label="面包屑导航"] {
    padding: 0 0.9rem;
  }

  main {
    padding: 1rem 0.9rem 2.2rem;
    gap: 1rem;
  }

  main > section {
    border-radius: var(--radius);
    padding: 1.15rem;
  }

  main > section > article {
    padding: 0.9rem 0.95rem;
  }

  #hero {
    padding: 1.6rem 1.15rem;
  }

  #hero p:last-child {
    gap: 0.5rem;
  }

  #hero a {
    padding: 0.5rem 1.05rem;
    font-size: 0.9rem;
  }

  #advantages ul,
  #contact address ul,
  #editorial ul {
    grid-template-columns: 1fr;
  }

  #faq summary {
    padding: 0.85rem 2.7rem 0.85rem 1rem;
    font-size: 0.95rem;
  }

  #faq summary::after {
    right: 0.85rem;
    width: 23px;
    height: 23px;
    font-size: 1rem;
  }

  footer {
    padding: 1.4rem 0.9rem 1.1rem;
  }

  footer nav ul,
  footer section ul {
    gap: 0.4rem 0.7rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  #site-header button[type="submit"] {
    padding: 0.5rem 0.9rem;
    font-size: 0.84rem;
  }

  #hero p:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  #hero a {
    text-align: center;
  }
}

@media print {
  #site-header,
  footer,
  body > nav[aria-label="面包屑导航"] {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}