:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --ink: #1f2522;
  --muted: #66706a;
  --line: #ded6c7;
  --accent: #235c4a;
  --accent-2: #b8713a;
  --soft: #ece6d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 56px);
  background: rgba(246, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.hero {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 52px;
  border-bottom: 1px solid var(--line);
}

.hero.compact {
  min-height: 340px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5.6vw, 66px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.panel.muted {
  background: var(--soft);
}

.panel p:last-child,
.panel .list:last-child,
.panel .facts:last-child {
  margin-bottom: 0;
}

.facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 650;
}

.list {
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin: 6px 0;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.legal {
  max-width: 880px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.legal h2 {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 22px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.version {
  color: var(--accent-2);
}

@media (max-width: 760px) {
  .site-header,
  .product-row {
    display: block;
  }

  nav {
    justify-content: flex-start;
    margin-top: 14px;
  }

  main {
    width: min(100% - 28px, 1120px);
    padding-top: 26px;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 34px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
