:root {
  --bg: #f8f6f2;
  --ink: #1b1a17;
  --muted: #5e594f;
  --accent: #2f5a4c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1100px 520px at 14% -18%, #efeae0 0%, rgba(239, 234, 224, 0) 62%),
    var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 92px 28px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accent-bar {
  width: 52px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 34px;
  opacity: 0;
  animation: rise .7s .05s ease forwards;
}

h1 {
  margin: 0 0 30px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
  opacity: 0;
  animation: rise .7s .12s ease forwards;
}

.body {
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--muted);
  opacity: 0;
  animation: rise .7s .2s ease forwards;
}

.body p { margin: 0 0 1.3em; }
.body p:last-child { margin-bottom: 0; }
.body .is-empty { color: #a49e91; }

footer {
  padding: 0 28px 34px;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .08em;
  color: #a49e91;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; opacity: 1 !important; }
}

@media (max-width: 640px) {
  .page { padding: 72px 22px 48px; justify-content: flex-start; }
  h1 { margin-bottom: 24px; }
  .body { font-size: 1rem; line-height: 1.9; }
}
