:root {
  color-scheme: light;
  font: 16px/1.65 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --content-width: 74rem;
  --gutter: clamp(1rem, 5vw, 3.5rem);
  --section-gap: clamp(1.75rem, 4vw, 3.75rem);
  --radius: 1rem;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  overflow-wrap: anywhere;
}
header, main {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
main {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}
nav, .brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.brand {
  gap: 0.75rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.brand img {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.2rem;
  border-radius: 0.5rem;
  background: #fff;
  object-fit: contain;
}
nav { flex-wrap: wrap; }
nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { color: var(--link); background: var(--accent-surface); }
nav a[aria-current="page"] { font-weight: 700; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.24; overflow-wrap: anywhere; }
h1 { margin: 0 0 1.5rem; font-size: clamp(1.85rem, 4.8vw, 3.6rem); }
h2 { margin: 0 0 0.85rem; font-size: clamp(1.25rem, 2.7vw, 1.85rem); }
h3 { font-size: 1.1rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
.home-surface { display: grid; gap: 1rem; }
.hero, .overview, .offering-copy, .faq, .contact, .article-guide {
  padding: clamp(1.2rem, 4vw, 2.75rem);
}
.hero {
  display: grid;
  align-items: center;
  min-width: 0;
  gap: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--hero-surface);
  color: var(--hero-ink);
}
.hero h1 { margin-bottom: clamp(0.65rem, 2vw, 1.25rem); }
.hero .intro { max-width: 64ch; color: inherit; white-space: pre-line; }
.hero-copy { min-width: 0; }
.hero img {
  display: block;
  width: 100%;
  max-height: 20rem;
  aspect-ratio: 4 / 3;
  padding: clamp(0.5rem, 2vw, 1rem);
  border-radius: calc(var(--radius) * 0.75);
  background: var(--image-surface);
  object-fit: contain;
}
.overview, .faq, .contact, .offerings article, .empty-news, .article-guide {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.overview dl, .contact dl, .faq-list { margin: 0; }
.overview dl {
  display: grid;
  grid-template-columns: minmax(4.5rem, max-content) minmax(0, 1fr);
  gap: 0.55rem 1rem;
}
.overview dt, .contact dt { color: var(--muted); font-size: 0.88rem; }
dd { margin: 0; }
.overview dd, .contact dd { font-weight: 600; }
.faq, .contact { margin-top: var(--section-gap); }
.faq-list > div, .news-list > li { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.faq-list > div:last-child, .news-list > li:last-child { padding-bottom: 0; border-bottom: 0; }
.faq-list dt { font-weight: 700; }
.faq-list dd { margin-top: 0.35rem; color: var(--muted); white-space: pre-line; }
.contact { background: var(--accent-surface); }
.contact dl { display: flex; flex-wrap: wrap; gap: 0.9rem 2.5rem; }
.offerings { display: grid; gap: clamp(0.85rem, 2.3vw, 1.5rem); }
.offerings article { overflow: hidden; }
.offering-image {
  display: grid;
  place-items: center;
  min-width: 0;
  background: var(--image-surface);
}
.offering-image img {
  display: block;
  width: 100%;
  max-height: 19rem;
  aspect-ratio: 4 / 3;
  padding: 0.75rem;
  object-fit: contain;
}
.offering-type { margin-bottom: 0.45rem; color: var(--link); font-size: 0.83rem; font-weight: 700; }
.offering-summary { color: var(--muted); white-space: pre-line; }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list > li { padding-block: 1.2rem; }
.news-list h2 { margin: 0; font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
.news-list p { margin-top: 0.5rem; color: var(--muted); }
.empty-news { padding: 1.2rem; color: var(--muted); }
.page-article { max-width: 56rem; }
.article-body { overflow-wrap: anywhere; }
.article-body h2, .article-body h3 { margin-top: 1.65em; }
.article-body pre { padding: 0.9rem; border-radius: 0.5rem; background: var(--accent-surface); white-space: pre-wrap; }
.article-body blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--line); }
.article-guide a { display: inline-block; margin-top: 1rem; font-weight: 650; }

@media (max-width: 34rem) {
  header { align-items: flex-start; flex-direction: column; }
  nav { gap: 0.25rem; }
  nav a { padding-inline: 0.5rem; }
}
:root {
  --background: #f5f7fa;
  --panel: #fff;
  --ink: #132742;
  --muted: #425672;
  --link: #244b78;
  --line: #d8e1ec;
  --accent-surface: #e9eff7;
  --hero-surface: #172f50;
  --hero-ink: #f4f8ff;
  --image-surface: #eaf0f7;
}
.home-surface--with-overview { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); }
.hero { padding: clamp(1.4rem, 5.5vw, 4.25rem); }
.hero .intro { color: #dae7f6; }
.overview { align-content: center; }
.overview dl { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
.overview dd + dt { margin-top: 0.75rem; }
.offering--with-image { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2fr); }
.offering-image { border-inline-end: 1px solid var(--line); }
.news-list { padding-inline: clamp(0.85rem, 3vw, 1.6rem); border-inline-start: 3px solid var(--line); }

@media (max-width: 44rem) {
  .home-surface--with-overview, .offering--with-image { grid-template-columns: 1fr; }
  .offering-image { border-inline-end: 0; }
}
