:root {
  color-scheme: light;
  --ink: #172820;
  --muted: #4e6057;
  --paper: #f8faf7;
  --line: #dbe5de;
  --forest: #256e4f;
  --forest-tint: #e8f0e7;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
section[id], article[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - 6rem, 1216px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; font-size: 1.125rem; font-weight: 750; letter-spacing: -.035em; white-space: nowrap; }
.brand img { flex: none; }
.catalog-nav { display: flex; gap: clamp(1.25rem, 3.4vw, 3rem); color: var(--muted); font-size: .9375rem; }
.catalog-nav a, .site-footer > a:last-child { padding-block: .55rem; }
.catalog-nav a:hover, .site-footer > a:last-child:hover { color: var(--forest); }
.header-inner > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 48px; padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: 7px; font-size: .9375rem; font-weight: 650; line-height: 1.45; white-space: nowrap; transition: background-color .18s, border-color .18s; }
.button-outline { min-height: 42px; border-color: var(--line); }
.button-outline:hover { border-color: var(--forest); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #1a5139; }

.hero { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 420px; margin-top: 2rem; overflow: hidden; border-radius: 14px; background: var(--forest-tint); }
.hero-copy { align-self: center; padding: clamp(2rem, 5vw, 4.5rem); }
h1 { font-size: clamp(2.8rem, 5.1vw, 5rem); line-height: 1.08; letter-spacing: -.075em; font-weight: 750; }
h1 em { color: var(--forest); font-style: normal; }
.hero-lead { max-width: 24em; margin-top: 1.3rem; color: var(--muted); line-height: 1.8; }
.hero-copy .button { margin-top: 1.65rem; }
.hero-art { min-width: 0; height: 100%; background: #c5ddcc; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.catalog { padding-block: 3.4rem 3.75rem; }
.section-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); line-height: 1.25; letter-spacing: -.055em; font-weight: 750; }
.section-intro p, .category-copy p, .store p { color: var(--muted); }
.section-intro p { font-size: .9375rem; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; }
.category-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfb; }
.category-card:target { border-color: var(--forest); }
.category-card img { width: 100%; height: auto; aspect-ratio: 1.46; object-fit: cover; background: var(--forest-tint); }
.category-copy { padding: 1.25rem 1.35rem 1.4rem; }
h3 { font-size: 1.2rem; line-height: 1.4; letter-spacing: -.025em; }
.category-copy p { margin-top: .45rem; }

.store { display: grid; grid-template-columns: minmax(11rem, .65fr) 1fr; align-items: center; gap: 1.5rem; padding: 2.5rem clamp(1.5rem, 4vw, 3rem); background: #edf4ef; border: 1px solid var(--line); border-radius: 12px; }
.store h2 { font-size: clamp(1.55rem, 2.75vw, 2.15rem); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 100px; color: var(--muted); font-size: .875rem; }
.site-footer .brand { color: var(--ink); }
.filing-link:hover { color: var(--forest); text-decoration: underline; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 3.5rem); }
  .hero { min-height: 370px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 0; gap: 0 .5rem; padding-top: .75rem; }
  .catalog-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .75rem; margin-top: .4rem; border-top: 1px solid var(--line); }
  .catalog-nav a { padding-block: .7rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 1rem; }
  .hero-copy { padding: 1.75rem 1.4rem; }
  h1 { font-size: clamp(2.65rem, 10vw, 3.8rem); }
  .hero-lead { margin-top: 1rem; }
  .hero-copy .button { margin-top: 1.25rem; }
  .hero-art { aspect-ratio: 1.34; }
  .catalog { padding-block: 2.25rem; }
  .section-intro { display: grid; gap: .35rem; }
  .category-grid, .store { grid-template-columns: 1fr; }
  .store { gap: .55rem; padding: 1.5rem 1.25rem; }
  .site-footer { min-height: 78px; flex-wrap: wrap; gap: .25rem 1rem; padding-block: 1rem; }
  .filing-link { order: 1; flex-basis: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
