:root {
  color-scheme: light;
  --blue: #174c75;
  --deep: #12334e;
  --text: #172a38;
  --muted: #455e73;
  --pale: #edf5fa;
  --line: #c6d7e4;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: anywhere; }
main { flex: 1; }
a { color: #174c75; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #17679e; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: .7rem; left: .7rem; z-index: 2; background: white; padding: .5rem .8rem; }
.skip:not(:focus) { clip-path: inset(100%); }
.site-header { border-top: .3rem solid var(--blue); border-bottom: 1px solid var(--line); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .65rem; }
.brand { display: flex; align-items: center; min-height: 44px; max-width: 100%; }
.brand img { width: clamp(11rem, 30vw, 17rem); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .45rem; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: .3rem .5rem; color: var(--text); text-decoration: none; }
.nav a:hover, .nav [aria-current] { background: var(--pale); text-decoration: underline; }
.desktop { display: none; }
.mobile { width: 100%; }
.mobile .nav { display: grid; border-top: 1px solid var(--line); }
summary { cursor: pointer; min-height: 44px; width: fit-content; padding: .55rem .3rem; font-weight: 700; }
.hero { background: var(--pale); border-bottom: 1px solid var(--line); }
.home-hero { color: white; background: var(--deep); }
.headline { display: grid; align-items: center; gap: 1.35rem; padding-block: clamp(1.4rem, 5vw, 3.6rem); }
.headline > * { min-width: 0; }
.headline p { margin: .7rem 0 0; color: var(--muted); max-width: 48rem; }
.home-hero p { color: #e5f1fa; }
.home-hero img { width: 100%; max-height: 25rem; object-fit: contain; padding: .65rem; background: #fff; border-radius: .45rem; }
.home-hero :focus-visible { outline-color: #bce3ff; }
.button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; color: #122b45; background: #d1eaff; border-radius: .25rem; padding: .4rem .9rem; font-weight: 750; }
h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0; font-size: clamp(1.9rem, 4.8vw, 3.6rem); }
h2 { margin: 0 0 .7rem; font-size: clamp(1.3rem, 2.7vw, 2rem); }
h3 { margin: 0 0 .4rem; }
.content { min-width: 0; padding-block: 1.55rem 3.4rem; }
.content section + section, .detail + section, .product-image + section { margin-top: clamp(1.8rem, 5vw, 3.3rem); }
.cards, .directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; }
.cards article { min-width: 0; background: var(--pale); border: 1px solid var(--line); border-radius: .35rem; padding: .85rem; }
.cards article:has(p) { border-top: 3px solid var(--blue); }
.cards p { color: var(--muted); margin: 0; }
.cards img { width: 100%; height: 11.5rem; object-fit: contain; background: #fff; margin-bottom: .65rem; }
.directory { margin: .85rem 0; padding: 0; list-style: none; }
.directory a { display: flex; align-items: center; min-height: 44px; height: 100%; padding: .5rem .75rem; background: var(--pale); border: 1px solid var(--line); border-inline-start: 3px solid var(--blue); }
.trail { display: flex; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: 1.1rem; }
.trail a + a::before { content: "/"; margin-inline-end: .6rem; color: var(--muted); }
.product-image { margin: 0 0 1.5rem; }
.product-image img { width: min(100%, 32rem); }
.detail p { max-width: 76ch; }
.detail img { margin-block: .85rem; }
.table-scroll { max-width: 100%; overflow: auto; margin-block: .85rem; }
table { border-collapse: collapse; min-width: max-content; }
caption { margin-bottom: .45rem; text-align: start; font-weight: 750; }
th, td { text-align: start; border: 1px solid var(--line); padding: .45rem .65rem; max-width: 25rem; }
th { background: var(--pale); }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list li { padding-block: .85rem; border-bottom: 1px solid var(--line); }
.news-list p { margin: .3rem 0 0; }
.date { color: var(--muted); font-variant-numeric: tabular-nums; }
.faq { max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); padding-block: .3rem; }
.faq p { margin: .3rem 0 .65rem; color: var(--muted); }
.site-footer { padding-block: 1.25rem; background: var(--deep); color: white; }
.site-footer a { color: white; }
.base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 48rem) {
  .desktop { display: flex; }
  .mobile { display: none; }
  .home-hero .headline { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
