:root {
  --leaf: #d96987;
  --leaf-deep: #87374f;
  --moss: #e7a0b1;
  --bloom: #ef9f76;
  --sun: #ffd58f;
  --paper: #fff5f6;
  --ink: #3b2830;
  --mute: #826770;
  --line: rgba(59, 40, 48, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 1120px;
  --shadow: 0 24px 60px rgba(135, 55, 79, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  background:
    radial-gradient(900px 480px at 100% -5%, rgba(255, 213, 143, 0.22), transparent 55%),
    radial-gradient(700px 420px at -8% 15%, rgba(217, 105, 135, 0.12), transparent 50%),
    linear-gradient(180deg, #fff8f8 0%, var(--paper) 40%, #fdeef2 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 245, 246, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(59, 40, 48, 0.05); }
.header-bar {
  min-height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--leaf-deep); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(145deg, var(--leaf), #ed8ca5);
  display: grid; place-items: center; color: #fff8f8; font-size: 20px;
  box-shadow: 0 10px 24px rgba(217, 105, 135, 0.28);
}
.brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em; }
.brand-name span { color: var(--leaf); }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  padding: 8px 12px; border-radius: 999px; color: var(--mute); font-size: 14px; font-weight: 600;
}
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--leaf-deep); background: rgba(217, 105, 135, 0.1); }
.nav-cta {
  margin-left: 6px !important;
  background: var(--leaf) !important; color: #fff8f8 !important;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); }

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid; align-items: end;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  background:
    linear-gradient(180deg, rgba(61, 31, 44, 0.15) 0%, rgba(61, 31, 44, 0.72) 100%),
    radial-gradient(circle at 70% 30%, rgba(255, 213, 143, 0.35), transparent 40%),
    linear-gradient(135deg, #d96987 0%, #87374f 45%, #b45c74 100%);
  color: #fff8f8;
  margin-bottom: 20px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 72%, rgba(239, 159, 118, 0.28) 0 8%, transparent 9%),
    radial-gradient(circle at 82% 58%, rgba(255, 213, 143, 0.25) 0 6%, transparent 7%),
    radial-gradient(circle at 62% 22%, rgba(255, 255, 255, 0.12) 0 10%, transparent 11%);
  animation: drift 12s ease-in-out infinite alternate;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 88px 0 56px;
  max-width: 760px;
}
.kicker {
  display: inline-block;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--sun);
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  margin: 14px 0 18px;
  max-width: 10em;
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 248, 248, 0.86);
  max-width: 36em;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit;
}
.btn-solid { background: var(--sun); color: #3b2830; }
.btn-solid:hover { filter: brightness(1.05); }
.btn-line { border-color: rgba(255, 248, 248, 0.7); color: #fff8f8; background: transparent; }
.btn-line:hover { background: #fff8f8; color: var(--leaf-deep); }
.btn-green { background: var(--leaf); color: #fff8f8; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2, .block h2, .cta h2, .page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
}
.section-head p, .lead, .copy p { color: var(--mute); }
.lead { font-size: 18px; max-width: 40em; }

.page-hero { padding: 56px 0 20px; }
.page-hero h1 { margin: 10px 0 14px; }

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.rail article {
  min-height: 240px;
  border-radius: 24px;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff8f8;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}
.rail article:hover { transform: translateY(-4px); }
.rail article::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(61, 31, 44, 0.78));
}
.rail .meta, .rail h3, .rail p { position: relative; z-index: 1; }
.rail .meta { font-size: 12px; letter-spacing: 0.12em; color: rgba(255,248,248,0.75); }
.rail h3 { font-size: 24px; margin: 8px 0; }
.rail p { font-size: 14px; color: rgba(255,248,248,0.82); }
.tone-a { background: linear-gradient(160deg, #ed8ca5, #87374f); }
.tone-b { background: linear-gradient(160deg, #ef9f76, #a85c54); }
.tone-c { background: linear-gradient(160deg, #ffd58f, #b77945); color: #3b2830 !important; }
.tone-c .meta, .tone-c p { color: rgba(59,40,48,0.7) !important; }
.tone-d { background: linear-gradient(160deg, #b45c74, #3d1f2c); }

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split.reverse .copy { order: -1; }
.poster {
  min-height: 320px;
  border-radius: 28px;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff8f8;
  box-shadow: var(--shadow);
}
.poster strong { font-family: var(--serif); font-size: 30px; }
.poster.green { background: linear-gradient(155deg, #d96987, #3d1f2c); }
.poster.rose { background: linear-gradient(155deg, #ef9f76, #9b4f5d); }
.poster.sun { background: linear-gradient(155deg, #ffd58f, #a76b3c); color: #3b2830; }
.checks { margin-top: 16px; }
.checks li {
  position: relative; padding-left: 18px; margin: 8px 0; color: var(--mute);
}
.checks li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--leaf); position: absolute; left: 0; top: 0.7em;
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--leaf-deep); color: #fff5f6; border-radius: 28px; overflow: hidden;
}
.stats div { padding: 28px 20px; }
.stats div + div { border-left: 1px solid rgba(255,245,246,0.14); }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); }
.stats span { color: rgba(255,245,246,0.7); font-size: 14px; }

.grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .note {
  background: rgba(255, 250, 251, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.card h3, .note h3 { margin: 8px 0; font-size: 22px; }
.card p, .note p { color: var(--mute); }
.meta { color: var(--mute); font-size: 13px; letter-spacing: 0.08em; }
.text-link { color: var(--leaf-deep); font-weight: 700; text-underline-offset: 3px; text-decoration: underline; }

.timeline { display: grid; gap: 0; border-left: 2px solid rgba(217,105,135,0.25); margin-left: 8px; }
.timeline article { padding: 0 0 28px 22px; position: relative; }
.timeline article::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--leaf); position: absolute; left: -7px; top: 6px;
  box-shadow: 0 0 0 4px rgba(217,105,135,0.15);
}
.timeline .meta { color: var(--bloom); font-weight: 700; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--leaf); font-family: var(--serif); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--mute); padding: 0 0 14px; max-width: 68ch; }

.cta {
  background: #4b2937; color: #fff5f6; border-radius: 32px; padding: 44px;
  display: flex; justify-content: space-between; gap: 24px; align-items: end;
}
.cta p { color: rgba(255,245,246,0.72); max-width: 36em; }
.cta .btn-line { border-color: #fff5f6; color: #fff5f6; }
.cta .btn-line:hover { background: #fff5f6; color: #4b2937; }

.site-footer {
  margin-top: 40px; background: #3d1f2c; color: #f2e5e9; padding: 52px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer .brand-name { color: #fff5f6; }
.site-footer h2 { font-size: 14px; font-family: var(--sans); letter-spacing: 0.1em; margin: 0 0 12px; }
.site-footer li { margin: 8px 0; color: rgba(242,229,233,0.75); }
.footer-brand p { margin-top: 12px; color: rgba(242,229,233,0.7); max-width: 28em; }
.footer-bottom {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(242,229,233,0.14);
  color: rgba(242,229,233,0.55); font-size: 14px;
}

.form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
form { display: grid; gap: 14px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: #fffafb;
  border-radius: 14px; padding: 12px 14px; font: inherit; color: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.done { background: #fde5ec; border-radius: 16px; padding: 18px; }

.visual-frame {
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.visual-frame .layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 35%),
    linear-gradient(160deg, var(--c1, #d96987), var(--c2, #87374f));
}
.leaf-deco {
  position: absolute; width: 120px; height: 120px; border-radius: 50% 0 50% 50%;
  background: rgba(255,255,255,0.12); transform: rotate(25deg);
}
.leaf-deco.one { right: 12%; top: 18%; }
.leaf-deco.two { left: 10%; bottom: 12%; width: 80px; height: 80px; transform: rotate(-20deg); }

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

@media (max-width: 980px) {
  .rail, .stats, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse, .form-grid, .footer-grid, .cta { grid-template-columns: 1fr; }
  .split.reverse .copy { order: 0; }
  .cta { flex-direction: column; align-items: flex-start; }
  .stats div:nth-child(odd) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(255,245,246,0.14); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fffafb; border: 1px solid var(--line); border-radius: 18px;
    padding: 10px; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .rail, .stats, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid rgba(255,245,246,0.14); }
  .hero { min-height: 74vh; border-radius: 0 0 24px 24px; }
  .hero-inner { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .rail article { animation: none; transition: none; }
}
