:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #151d18;
  --muted: #46524a;
  --accent: #185718;
  --accent-dark: #173824;
  --line: #d8e0d7;
  --mint: #ecf2e7;
}

html[data-theme='light'] {
  --token-primary-base: var(--accent-dark);
  --token-primary-text-base: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    system-ui,
    -apple-system,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  line-height: 1.6;
}

.container {
  width: min(calc(100% - 72px), 1176px);
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--white);
  transform: translateY(calc(-100% - 14px));
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wordmark,
.site-nav,
.language-link {
  display: flex;
  align-items: center;
}

.header-inner,
.footer-inner {
  justify-content: space-between;
  gap: 10px;
  min-height: 74px;
}

.wordmark {
  gap: 11px;
  font-size: 1.25rem;
  font-weight: 780;
  letter-spacing: -0.065em;
}

.brand-mark,
.product-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
}

.brand-mark {
  background: var(--accent-dark);
  color: var(--white);
}

.site-nav {
  gap: clamp(13px, 3.2vw, 36px);
  font-size: 0.875rem;
  font-weight: 580;
}

.site-nav a,
.footer-inner a {
  color: var(--muted);
  padding-block: 8px;
}

.site-nav a:hover,
.footer-inner a:hover,
.product-access a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.language-link {
  gap: 7px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(22px, 4.6vw, 70px);
  padding-block: clamp(36px, 6vw, 88px) clamp(42px, 6.5vw, 94px);
}

.hero h1 {
  margin-block: 0 22px;
  color: var(--ink);
  font-family: Georgia, 'Songti SC', SimSun, serif;
  font-size: clamp(2.7rem, 5.1vw, 4.85rem);
  font-weight: 650;
  line-height: 1.11;
  letter-spacing: -0.069em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

:lang(zh-CN) .hero h1 {
  font-weight: 800;
  letter-spacing: -0.061em;
  word-break: keep-all;
}

.intro {
  max-width: 28em;
  margin-block: 0 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions a {
  min-height: 44px;
  height: auto;
  max-width: 100%;
  padding-block: 8px;
  border-radius: 8px;
  white-space: normal;
}

.hero-actions a svg,
.product-access a svg {
  flex: none;
}

.hero-art {
  overflow: hidden;
  border: 1px solid #22442e;
  border-radius: 24px;
  background: #223c2b;
  box-shadow: 0 22px 53px -35px #133c23b0;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.product-section {
  padding: clamp(22px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mint);
}

.product-section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 740;
  letter-spacing: -0.04em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 23px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.product-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.product-icon {
  background: var(--mint);
  color: var(--accent-dark);
}

.category {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
}

.product-card h3 {
  margin-block: 2px 6px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 745;
  line-height: 1.18;
  letter-spacing: -0.058em;
}

.product-description {
  margin-block: 0 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.product-access {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.product-access p,
.boundary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.product-access a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--accent-dark);
  font-size: 0.9375rem;
  font-weight: 700;
}

.boundary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block: clamp(24px, 3.5vw, 43px);
}

.boundary svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.boundary h2 {
  margin-block: 0 3px;
  font-size: 0.875rem;
  font-weight: 730;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 800px) {
  .container {
    width: calc(100% - 38px);
  }

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

  .hero h1 {
    font-size: clamp(2.9rem, 8vw, 4.65rem);
  }

  .hero-art {
    width: min(100%, 600px);
  }
}

@media (max-width: 625px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner,
  .footer-inner {
    min-height: 62px;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 30px);
  }

  .site-nav {
    gap: 11px;
  }

  .wordmark {
    gap: 7px;
    font-size: 1.125rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 2.9rem);
  }
}
