:root {
  --paper: #f7f1e6;
  --paper-2: #fffdf8;
  --ink: #2a241e;
  --muted: #7d6d5b;
  --terra: #b4552f;
  --terra-deep: #93401f;
  --line: #e4d7c3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

.page {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 48px 22px 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.seal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--terra);
  color: #fff8ec;
  font-family: "Noto Serif SC", "SimSun", serif;
  font-size: 18px;
}

h1 {
  margin: 24px 0 12px;
  font-family: "Noto Serif SC", "SimSun", serif;
  font-size: clamp(34px, 8vw, 54px);
  font-weight: 500;
  line-height: 1.3;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.card {
  margin: 14px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}

.card h2 {
  margin: 0 0 4px;
  font-family: "Noto Serif SC", "SimSun", serif;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff8ec;
  text-decoration: none;
  font-size: 14px;
}

.button.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  word-break: break-all;
}

ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}

li { margin: 4px 0; }

footer {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer a { color: var(--terra-deep); }

.license-pre {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #fbf4e7;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Landing page */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 20px;
}

.site-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav nav a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 26px 0 34px;
}

.hero-kicker,
.section-eyebrow {
  margin: 0 0 8px;
  color: var(--terra-deep);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--terra);
  background: var(--terra);
  color: #fffaf0;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover {
  background: var(--terra-deep);
  border-color: var(--terra-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--terra-deep);
}

.btn-ghost:hover {
  background: rgba(180, 85, 47, 0.08);
  color: var(--terra-deep);
}

.hero-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

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

.hero-shots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-shots img {
  width: 46%;
  max-width: 240px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(90, 65, 40, 0.14);
}

.hero-shots img:first-child {
  transform: translateY(16px) rotate(-2deg);
}

.hero-shots img:last-child {
  transform: translateY(-8px) rotate(2deg);
}

.hero-shots-small {
  margin: 18px 0 8px;
}

.hero-shots-small img {
  width: 38%;
  max-width: 190px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.feature {
  padding: 14px;
  border-radius: 12px;
  background: #fbf4e7;
  border: 1px solid var(--line);
}

.feature > span {
  font-size: 22px;
}

.feature h3 {
  margin: 6px 0 4px;
  font-family: var(--serif);
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 14px 0;
}

.chapter-grid span {
  padding: 8px;
  border-radius: 8px;
  background: #fbf4e7;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  text-align: center;
}

.price-box {
  text-align: center;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.price-line strong {
  color: var(--terra-deep);
  font-family: var(--serif);
  font-size: 42px;
}

.price-line span {
  color: var(--muted);
  font-size: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.step {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf4e7;
}

.step b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff8ec;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
}

.step h3 {
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-size: 15px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.questions {
  background: linear-gradient(135deg, #fffdf8, #f7ead8);
}

.questions ol {
  margin: 10px 0 12px;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

.questions p {
  margin: 4px 0 12px;
}

.faq {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.faq p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.8;
}

.official {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid #e8d0b4;
  border-radius: 16px;
  background: #fbf4e7;
}

.official strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--terra-deep);
}

.official p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.cta-band {
  margin: 16px 0 0;
  padding: 26px 20px;
  border-radius: 18px;
  background: #2e2a24;
  color: #f8efe3;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.cta-band p {
  margin: 0 0 14px;
  color: #cfc1af;
  font-size: 12px;
}

.cta-band .btn {
  background: #f8efe3;
  border-color: #f8efe3;
  color: #2e2a24;
}

.cta-band .btn:hover {
  background: #fffaf0;
  border-color: #fffaf0;
}

@media (max-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 12px;
  }

  .hero-shots {
    order: -1;
  }

  .hero-shots img {
    width: 48%;
    max-width: 190px;
  }

  .feature-grid,
  .chapter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .site-nav nav a:first-child {
    display: none;
  }
}


