:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-alt: #F3EFE8;
  --text: #1F1E1C;
  --text-muted: #5F5B54;
  --border: #E5DFD4;
  --accent: #D97757;
  --accent-soft: rgba(217, 119, 87, 0.12);
  --shadow: 0 12px 32px rgba(31, 30, 28, 0.06);
  --radius: 16px;
}

[data-theme="dark"] {
  --bg: #161514;
  --surface: #201E1C;
  --surface-alt: #282522;
  --text: #F2EFE9;
  --text-muted: #B0AAA0;
  --border: #332F2B;
  --accent: #E28566;
  --accent-soft: rgba(226, 133, 102, 0.15);
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.container {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

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

.theme-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.theme-btn:hover {
  border-color: var(--accent);
  background: var(--surface-alt);
}

.main-content {
  padding: 52px 0 64px;
}

.hero {
  max-width: 680px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-desc {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.support-section {
  margin-top: 8px;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.support-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.support-lead {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.compliance-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
}

.qr-box {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  text-align: center;
}

.qr-box img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
  border-radius: 10px;
}

.qr-box figcaption {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .support-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .qr-box {
    max-width: 280px;
    margin: 0 auto;
  }
}
