:root {
  --ink: #14201c;
  --ink-soft: #2a3b34;
  --paper: #f3f0e8;
  --paper-dim: #e4dfd2;
  --accent: #c45c26;
  --accent-deep: #9a3f14;
  --line: rgba(20, 32, 28, 0.12);
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "DM Sans", "PingFang SC", "Helvetica Neue", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  line-height: 1.55;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(196, 92, 38, 0.18), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(42, 59, 52, 0.16), transparent 50%),
    linear-gradient(180deg, #ebe6da 0%, var(--paper) 42%, #e8e2d4 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(-1.5%, 1%, 0); }
}

.top {
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 0;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: rise 0.8s ease both;
}

.hero {
  min-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 3rem) 2.5rem;
  max-width: 52rem;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  animation: rise 0.9s ease 0.08s both;
}

.lede {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--ink-soft);
  animation: rise 1s ease 0.16s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 0.75rem;
  animation: rise 1.05s ease 0.24s both;
}

.cta-label {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

.qr-slot {
  width: 8.5rem;
  height: 8.5rem;
  border: 1px dashed var(--accent);
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.qr-hint {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-align: center;
  padding: 0 0.5rem;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
}

.points article {
  padding: 1.75rem 1.25rem 0 0;
}

.points h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 18rem;
}

.foot {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.foot p {
  margin: 0.25rem 0;
}

.beian {
  opacity: 0.85;
}

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

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

  .points article {
    padding: 1.25rem 0 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.25rem;
  }

  .points article:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .brand,
  .headline,
  .lede,
  .cta {
    animation: none;
  }
}
