﻿:root {
  color-scheme: light;
  --ink: #172a3e;
  --muted: #455971;
  --brand: #174577;
  --deep: #0e2947;
  --accent: #14658a;
  --surface: #eef4f9;
  --line: #c9d7e5;
  --paper: #fff;
  --width: 78rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --space: clamp(2.25rem, 6vw, 5rem);
  --radius: 1rem;
  --shadow: 0 12px 35px #132d4810;
  --font: "Instrument Sans", system-ui, "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.75 var(--font); overflow-wrap: anywhere; }
body.environment { --brand: #803431; --deep: #492427; --accent: #8a3633; --surface: #f8f1ef; --line: #e4d4d0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #d16a19; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; z-index: 5; transform: translateY(-160%); background: white; padding: .6rem 1rem; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: white; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .75rem; padding-block: .65rem; }
.logo { display: inline-flex; min-height: 44px; align-items: center; gap: .8rem; text-decoration: none; font-weight: 750; }
.logo img { width: auto; height: 1.8rem; }
.menu-button { background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; min-width: 44px; min-height: 44px; padding-inline: .85rem; color: var(--ink); cursor: pointer; }
.site-nav { flex-basis: 100%; }
.nav-list, .crumbs, .links, .cards { list-style: none; padding: 0; margin: 0; }
.nav-list { display: flex; flex-wrap: wrap; gap: .15rem; }
.nav-list a, .links a, .crumbs a, .footer a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: .65rem; }
.nav-list a { color: var(--ink); text-decoration: none; border-radius: .4rem; }
.nav-list a:hover, .nav-list [aria-current] { background: var(--surface); color: var(--brand); }
@media (min-width: 55rem) { .site-nav { flex-basis: auto; } }
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner { padding-block: var(--space); }
.hero-home { background: var(--deep); color: white; }
.hero-home .hero-inner { display: grid; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.hero-home a { color: white; }
.hero-image { width: 100%; border-radius: var(--radius); }
@media (min-width: 52rem) { .hero-home .hero-inner { grid-template-columns: 1fr 1fr; } }
h1, h2, h3, h4 { line-height: 1.24; margin: 0 0 .65em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.8rem); letter-spacing: -.035em; max-width: 24ch; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
.lead { max-width: 66ch; font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 0; }
.eyebrow { font-size: .88rem; font-weight: 750; letter-spacing: .12em; margin-bottom: .8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem; border: 1px solid currentColor; border-radius: .55rem; text-decoration: none; font-weight: 700; }
.hero-home .button:first-child { background: white; color: var(--deep); border-color: white; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.crumbs li + li::before { content: "/"; margin-inline: .35rem; }
.crumbs a { padding-inline: .2rem; }
.main-content { padding-block: var(--space); min-height: 25vh; }
.main-content > * + * { margin-top: 1.5rem; }
.main-content > section + section { margin-top: var(--space); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 1rem; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow); }
.card > a { display: block; height: 100%; text-decoration: none; }
.card > a:hover .card-title { text-decoration: underline; }
.card > a:focus-visible { outline-offset: -4px; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f7f9fb; }
.card-body { display: block; padding: 1rem 1.15rem; }
.card-title { display: block; font-weight: 750; font-size: 1.08rem; }
.card-note { display: block; color: var(--muted); margin-top: .35rem; }
.links { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.links a { border: 1px solid var(--line); border-radius: .5rem; }
.links [aria-current] { background: var(--surface); font-weight: 700; }
.prose { max-width: 76ch; }
.prose img { margin-block: 1rem; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.product-summary { display: grid; gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.product-summary img { width: 100%; max-height: 31rem; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 47rem) { .product-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.specs { margin: 0; }
.specs > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: .75rem; border-bottom: 1px solid var(--line); padding: .5rem; }
dd { margin: 0; }
dt { font-weight: 700; }
.table-scroll { overflow-x: auto; margin-block: 1rem; }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid var(--line); padding: .4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; }
details { border-bottom: 1px solid var(--line); padding-block: .4rem; }
summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: .45rem 0; }
.notice { background: var(--surface); border-inline-start: .25rem solid var(--accent); padding: 1rem; border-radius: .35rem; }
.footer { background: var(--deep); color: white; padding-block: 1.65rem; }
.footer a { color: white; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.footer p { margin: 0; font-weight: 700; }
.footer .links { margin: 0; }
.footer .links a { border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
