:root {
  --paper: #f7f5f0;
  --paper2: #eeede8;
  --surface: #ffffff;
  --ink: #494949;
  --ink2: #6e6e6e;
  --ink3: #9b9b9b;
  --taupe: #6d5d52;
  --taupe-light: #8a7a6d;
  --line: #e8e6e1;
  --rose: #9a6b62;
  --sage: #6f7d68;
  --max: 720px;
  --wide: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--taupe); text-decoration: none; }
a:hover { color: var(--rose); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: 18px;
}

.brand img { width: 36px; height: 36px; border-radius: 8px; }

nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }

main { max-width: var(--wide); margin: 0 auto; padding: 32px 20px 64px; }

main.narrow { max-width: var(--max); }

.hero {
  padding: 48px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.hero .tagline {
  font-size: 18px;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 auto 28px;
}

.hero .entity {
  font-size: 14px;
  color: var(--ink3);
  margin-bottom: 32px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--taupe);
  transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--taupe);
  color: #fff;
  border-color: var(--taupe);
}

.btn:hover { border-color: var(--taupe-light); }
.btn-primary:hover { background: var(--taupe-light); color: #fff; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.card h2 { font-size: 17px; margin-bottom: 8px; color: var(--taupe); }
.card p { font-size: 15px; color: var(--ink2); }

.section { margin-top: 48px; }
.section h2 {
  font-size: 22px;
  color: var(--taupe);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.section p, .section li { color: var(--ink2); margin-bottom: 12px; }

.section ul, .section ol { padding-left: 1.25em; margin-bottom: 16px; }
.section li { margin-bottom: 8px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 12px;
}

.faq-item h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--ink2); margin: 0; }

.legal-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink2);
}

.callout {
  background: var(--paper2);
  border-left: 3px solid var(--taupe);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 15px;
  color: var(--ink2);
}

.credentials-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 auto 40px;
  max-width: 640px;
  text-align: left;
}

.credentials-box h2 {
  font-size: 17px;
  color: var(--taupe);
  margin-bottom: 14px;
  border: none;
  padding: 0;
}

.credentials-box table.simple { margin: 0; font-size: 14px; }

.credentials-box .note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
}

.qr-block {
  text-align: center;
  margin: 32px 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.qr-block img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 12px;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: var(--paper2);
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink3);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ink3);
  max-width: var(--wide);
  margin: 0 auto;
}

.site-footer a { color: var(--ink3); }
.site-footer a:hover { color: var(--taupe); }

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-lead {
  color: var(--ink2);
  margin-bottom: 32px;
  font-size: 16px;
}

table.simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 16px 0;
}

table.simple th, table.simple td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

table.simple th { background: var(--paper2); color: var(--taupe); font-weight: 600; }

@media (max-width: 640px) {
  nav { font-size: 13px; gap: 4px 12px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
