:root {
  --paper: #ECE3CF;
  --paper-deep: #DDD1B6;
  --paper-card: #F7EFD9;
  --paper-card-edge: #E9DDBC;
  --ink: #2A2419;
  --ink-soft: #4F4231;
  --muted: #8A7A60;
  --border: #D8C9A6;
  --orange: #C68B3A;
  --orange-deep: #A66E25;
  --orange-soft: #E2B36D;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(1200px 600px at 0% 0%, #F1E8D2 0%, transparent 60%),
    radial-gradient(1000px 500px at 100% 100%, #DDD1B6 0%, transparent 55%),
    var(--paper);
  background-attachment: fixed;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body[lang="zh-CN"] {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
}

.lang-switch {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 4px;
  font-size: 13px;
  z-index: 10;
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  transition: background 0.15s;
}
.lang-switch a:hover { background: rgba(255,255,255,0.4); }
.lang-switch a.active {
  color: var(--ink);
  background: rgba(255,255,255,0.55);
  font-weight: 600;
}

main { max-width: 880px; margin: 0 auto; padding: 80px 24px 80px; }

.hero { margin-bottom: 88px; max-width: 560px; }
.hero-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 10px 28px rgba(110, 76, 22, 0.22),
    0 2px 6px rgba(60, 36, 0, 0.15);
}
h1 {
  font-family: "Hiragino Mincho ProN", "Iowan Old Style", Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tagline {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  line-height: 1.75;
  font-family: "Hiragino Mincho ProN", serif;
}
body[lang="en"] .tagline { font-family: "Iowan Old Style", Georgia, serif; }
body[lang="zh-CN"] .tagline { font-family: "PingFang SC", serif; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #D89947 0%, #B8762B 100%);
  color: #FFF8E8;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 6px 16px rgba(140, 80, 10, 0.35),
    0 2px 4px rgba(60, 30, 0, 0.2);
  transition: transform 0.15s, filter 0.15s;
}
.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.cta svg { width: 18px; height: 18px; }

h2 {
  font-family: "Hiragino Mincho ProN", "Iowan Old Style", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

section.block { margin-bottom: 88px; }
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; gap: 18px; }
  h1 { font-size: 48px; }
  main { padding: 64px 20px; }
  .hero { margin-bottom: 64px; }
}

.feature {
  position: relative;
  background: linear-gradient(180deg, #FDF7E5 0%, #F4EAC9 100%);
  border-radius: 14px;
  padding: 22px 22px 20px;
  border: 1px solid var(--paper-card-edge);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 8px 18px rgba(80, 50, 0, 0.10),
    0 2px 4px rgba(60, 30, 0, 0.08);
}
.feature::before {
  content: '';
  position: absolute;
  left: 8px;
  right: -4px;
  top: 4px;
  bottom: -6px;
  background: linear-gradient(180deg, #ECDFB7 0%, #DBCB9B 100%);
  border-radius: 12px;
  z-index: -1;
  box-shadow: 0 4px 10px rgba(80, 50, 0, 0.08);
}
.feature:nth-child(1) { transform: rotate(-0.4deg); }
.feature:nth-child(2) { transform: rotate(0.5deg); }
.feature:nth-child(3) { transform: rotate(0.3deg); }
.feature:nth-child(4) { transform: rotate(-0.5deg); }

.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(180deg, #D89947 0%, #B8762B 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 4px 10px rgba(150, 90, 20, 0.35);
}
.feature-icon svg { width: 26px; height: 26px; color: #FFF6E0; }
.feature h3 {
  font-family: "Hiragino Mincho ProN", "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}
body[lang="zh-CN"] .feature h3 { font-family: "PingFang SC", serif; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }

.pricing-wrap { display: flex; justify-content: center; }
.pricing {
  position: relative;
  background: linear-gradient(180deg, #FAF3DA 0%, #ECDDB5 100%);
  border-radius: 12px;
  padding: 30px 36px 32px;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--paper-card-edge);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 12px 28px rgba(80, 50, 0, 0.14),
    0 2px 6px rgba(60, 30, 0, 0.1);
}
.pricing::before, .pricing::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--paper-card-edge);
  pointer-events: none;
}
.pricing::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.pricing::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.pricing-title {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}
.pricing-rule {
  height: 1px;
  background: var(--paper-card-edge);
  margin: 0 -10px 22px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
}
.plan + .plan { border-top: 1px dashed var(--paper-card-edge); }
.plan-name { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.plan-price {
  font-family: "Hiragino Mincho ProN", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.plan-sub { font-size: 12px; color: var(--muted); margin-top: 4px; text-align: center; max-width: 240px; }

.support {
  position: relative;
  background: linear-gradient(180deg, #FBF5DE 0%, #F0E5BF 100%);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--paper-card-edge);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 8px 20px rgba(80, 50, 0, 0.10);
}
.support h2 { margin-bottom: 8px; }
.support .lead { color: var(--ink-soft); margin: 0 0 16px; font-size: 14px; }
.support a.mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--paper-card-edge);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--orange-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.support a.mail svg { width: 14px; height: 14px; }

footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px dashed var(--paper-card-edge);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer .links { margin-bottom: 12px; }
footer .links a {
  color: var(--orange-deep);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 600;
}
footer .links a:hover { text-decoration: underline; }
