:root {
  color-scheme: light;
  --ink: #5f5a68;
  --muted: #8b8492;
  --deep: #3f405b;
  --paper: #fffaf0;
  --peach: #ffe8d9;
  --rose: #f8dce4;
  --blue: #d6e8f4;
  --lilac: #e9e1f5;
  --gold: #f8d66d;
  --white: rgba(255, 255, 255, 0.78);
  --line: rgba(111, 93, 111, 0.13);
  --shadow: 0 24px 80px rgba(120, 105, 124, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "LXGW WenKai", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(248, 214, 109, 0.28), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(214, 232, 244, 0.68), transparent 28rem),
    linear-gradient(135deg, #fff9ec 0%, #fff3f5 42%, #eef8fb 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(248, 214, 109, 0.55) 0 1.4px, transparent 2px);
  background-position:
    0 0,
    32px 48px;
  background-size:
    96px 96px,
    148px 148px;
  opacity: 0.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.76);
  box-shadow: 0 14px 50px rgba(126, 113, 132, 0.11);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding-left: 8px;
  color: var(--deep);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #7d6b25;
  background: linear-gradient(145deg, #fff7bb, #f5c96a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 22px rgba(230, 185, 75, 0.28);
}

.nav-links {
  gap: 26px;
  color: #736e7c;
  font-size: 15px;
}

.nav-links a,
.header-action,
.primary-button,
.secondary-button {
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--deep);
}

.header-action,
.primary-button,
.secondary-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.header-action {
  padding: 10px 18px;
  color: #766136;
  background: rgba(255, 245, 201, 0.86);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(1120px, calc(100% - 36px));
  min-height: calc(100vh - 94px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}

.hero-copy,
.hero-art,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: #b29238;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.16;
}

h1 {
  max-width: 680px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 84px;
  font-weight: 800;
}

h2 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 46px;
}

h3 {
  font-size: 21px;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: #756f80;
  font-size: 20px;
  line-height: 1.9;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
}

.primary-button {
  color: #57440f;
  background: linear-gradient(135deg, #ffe987, #f7c96f);
  box-shadow: 0 16px 36px rgba(224, 181, 78, 0.28);
}

.secondary-button {
  color: #676072;
  background: var(--white);
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.9), transparent 15rem),
    linear-gradient(155deg, rgba(255, 255, 255, 0.55), rgba(255, 241, 221, 0.24));
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(1px);
}

.hero-art::before {
  width: 210px;
  height: 210px;
  background: rgba(255, 232, 151, 0.38);
  transform: translate(-58px, -88px);
}

.hero-art::after {
  width: 180px;
  height: 180px;
  background: rgba(214, 232, 244, 0.56);
  transform: translate(82px, 88px);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  filter: drop-shadow(0 26px 36px rgba(116, 98, 123, 0.14));
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.steps article,
.memory-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-card {
  min-height: 232px;
  padding: 28px;
  border-radius: 28px;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: #9b7a19;
  background: #fff3b8;
  font-size: 24px;
}

.feature-card p,
.steps p,
.memory-panel p,
.site-footer p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.memory-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 20px;
}

.memory-panel {
  display: grid;
  min-height: 340px;
  align-content: space-between;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 232, 217, 0.42)),
    url("/assets/soft-stars.svg") center / cover;
}

.memory-list {
  display: grid;
  gap: 12px;
}

.memory-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
}

.memory-list strong {
  color: #c79a27;
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  min-height: 214px;
  padding: 28px;
  border-radius: 28px;
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  color: #6d5a1b;
  background: #f9dda3;
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding: 26px 0 10px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--deep);
  font-weight: 800;
}

.footer-links {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: #9a7c2d;
  font-weight: 700;
}

.footer-links a:last-child {
  color: #7f8a99;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .site-header {
    align-items: stretch;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    padding: 10px 14px;
  }

  .hero,
  .memory-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-art {
    min-height: 360px;
    border-radius: 32px;
  }

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

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-action {
    font-size: 14px;
  }

  .hero,
  .section,
  .site-footer {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions a {
    width: 100%;
  }
}
