﻿:root {
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: #203225;
  background: #f5f7ef;
  --green: #254d2b;
  --light: #e3ecdc;
  --line: #cbd9c7;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: min(100% - 2rem, 73rem); margin-inline: auto; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #216984; outline-offset: 3px; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }
img { display: block; max-width: 100%; height: auto; }
.site-header { background: white; border-top: 4px solid var(--green); border-bottom: 1px solid var(--line); }
.top, .foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .55rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { width: min(44vw, 10rem); }
.desktop { display: none; }
.mobile[open] { width: 100%; }
.mobile nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); border-top: 1px solid var(--line); }
nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .45rem .65rem; }
nav a[aria-current] { font-weight: 750; box-shadow: inset 0 -3px var(--green); }
summary { cursor: pointer; min-height: 44px; padding: .6rem .8rem; font-weight: 650; }
.hero { padding-block: clamp(2rem, 6vw, 5rem); background: linear-gradient(115deg, #e1ebd9, #f2f1e6); border-bottom: 1px solid var(--line); }
.headline { display: grid; align-items: center; gap: 1rem 4rem; }
.hero img { width: 100%; max-height: min(52vh, 26rem); object-fit: contain; }
h1, h2, h3 { line-height: 1.24; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { max-width: 47rem; }
.button { min-height: 44px; display: inline-flex; align-items: center; padding: .6rem 1rem; border-radius: .35rem; background: var(--green); color: white; font-weight: 650; }
.content { padding-block: 1rem 3rem; overflow-wrap: anywhere; }
.content section { margin-block: 1.25rem 2.7rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: .55rem; padding: 1rem; background: white; }
.card h3 { margin-top: .25rem; }
.card p { margin-bottom: 0; }
.product { padding: 0; overflow: hidden; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #edf2e8; }
.product > div { padding: .9rem; }
.product ul { padding-inline-start: 1.2rem; }
.faq details { background: white; border: 1px solid var(--line); border-radius: .35rem; margin-block: .65rem; }
.faq p { margin: .2rem .8rem .9rem; }
.directory, .news { list-style: none; padding: 0; }
.directory li, .news li { border-bottom: 1px solid var(--line); }
.directory a { display: inline-flex; align-items: center; min-height: 44px; }
.news li { padding-block: .65rem; }
.news p { margin: .2rem 0; }
time { color: #425846; font-variant-numeric: tabular-nums; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; background: white; }
caption { text-align: left; margin-bottom: .5rem; font-weight: 700; }
th, td { padding: .45rem .55rem; text-align: left; border: 1px solid var(--line); overflow-wrap: anywhere; }
thead { color: white; background: var(--green); }
tbody tr:nth-child(even) { background: var(--light); }
footer { background: #213b27; color: white; }
footer a { color: inherit; }
footer :focus-visible { outline-color: #c5ebaf; }
@media (min-width: 48rem) {
  .desktop { display: flex; flex-wrap: wrap; }
  .mobile { display: none; }
  .has-image .headline { grid-template-columns: 1.25fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
