:root {
  --brand: #e84a7f;
  --brand-dark: #c73566;
  --brand-soft: #fff0f5;
  --ink: #1a1216;
  --muted: #5c4a52;
  --line: #f0d6e0;
  --bg: #fffafb;
  --card: #ffffff;
  --max: 1080px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(232, 74, 127, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe4ef 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #ffeef5 0%, transparent 50%),
    linear-gradient(180deg, #fff7fa 0%, var(--bg) 28%, #fff 100%);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 251, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.25;
  font-weight: 400;
}

.hero-lead {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #ff6b9d);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 74, 127, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
}

.hero-visual {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--card);
  animation: rise 0.8s ease both;
}

.hero-visual img {
  width: 100%;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 2.4rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.35;
}

.section h3 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.section p,
.section li {
  color: var(--muted);
}

.section p {
  margin: 0 0 1rem;
}

.prose {
  max-width: 72ch;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 1.6rem;
}

.media-row.triple {
  grid-template-columns: repeat(3, 1fr);
}

.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding: 0.7rem 0.85rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 1.5rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
}

.note {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}

.note strong {
  color: var(--brand-dark);
}

.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.legal {
  padding-bottom: 3rem;
}

.legal h2 {
  margin-top: 1.8rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #8a7380;
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .media-row,
  .media-row.triple {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 64px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    flex-direction: column;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav {
    position: relative;
  }
}

@media (max-width: 560px) {
  .media-row,
  .media-row.triple {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .shot img {
    aspect-ratio: 3 / 4;
  }
}
