@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --pink: #eb879c;
  --pink-soft: #ffb6c1;
  --ink: #26171a;
  --ink-2: #63484e;
  --paper: #fff6f7;
  --card: #ffffff;
  --line: rgba(38, 23, 26, .1);
  --shadow-1: 0 2px 4px rgba(38, 23, 26, .06);
  --shadow-2: 0 12px 28px -14px rgba(38, 23, 26, .26);
  --shadow-3: 0 24px 54px -26px rgba(235, 135, 156, .6);
  --r: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 108px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .3em 0; }

h1, h2, h3 {
  margin: 0 0 .55em;
  line-height: 1.26;
  letter-spacing: -.012em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 6.2vw, 3.4rem); }
h2 { font-size: clamp(1.32rem, 3.2vw, 1.8rem); }
h3 { font-size: 1.12rem; font-weight: 700; }

hr {
  border: 0;
  height: 2px;
  margin: .1em 0 1.1em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), rgba(255, 182, 193, 0));
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

article[id] { scroll-margin-top: 84px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 100px 20px 130px;
  overflow: hidden;
  background:
    radial-gradient(62% 46% at 50% 0%, #ffffff 0%, rgba(255, 246, 247, 0) 72%),
    linear-gradient(180deg, #fff1f4 0%, #fff8f9 58%, #ffeef2 100%);
}

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(580px, 92vw);
  height: min(580px, 92vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 182, 193, .55), rgba(255, 182, 193, 0) 68%);
  filter: blur(6px);
  z-index: 0;
}

.hero-brand {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-1), var(--shadow-2);
}
.hero-brand img { width: 100%; height: 100%; object-fit: cover; }

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.shot {
  position: absolute;
  margin: 0;
  width: clamp(124px, 16vw, 218px);
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-1), var(--shadow-3);
}
.shot-a { left: max(3vw, 16px); top: 19%; transform: rotate(-6.5deg); }
.shot-b { right: max(3vw, 16px); bottom: 21%; transform: rotate(5.5deg); }
.shot-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  text-align: center;
}

.hero-mark {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 17px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #8d3d4f;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}

.hero-sub {
  max-width: 32em;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 1.02rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.pill-solid { background: var(--pink); color: #fff; box-shadow: 0 14px 26px -14px rgba(235, 135, 156, .95); }
.pill-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-1), var(--shadow-2); }
.pill:hover { transform: translateY(-2px); }

.hero-slash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 2;
  height: 148px;
  background: linear-gradient(102deg, rgba(235, 135, 156, .92), rgba(255, 182, 193, .72));
  clip-path: polygon(0 62%, 100% 8%, 100% 100%, 0 100%);
}

/* ---------- 主体 ---------- */
main { display: block; }

.sheet {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 26px 34px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 76px;
}

.rail {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 86px;
  align-self: start;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding: 18px 16px;
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow-1), var(--shadow-3);
}
.rail-head { margin-bottom: .18em; font-size: 1rem; }

.rail-list {
  counter-reset: rail;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.rail-list li { counter-increment: rail; margin: 0; }
.rail-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: .93rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.rail-list a::before {
  content: counter(rail, decimal-leading-zero);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--pink);
}
.rail-list a:hover { background: #fff2f4; color: var(--ink); }

.sheet > article {
  grid-column: 2;
  margin: 0;
  padding: 26px 26px 20px;
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow-1), 0 20px 44px -34px rgba(38, 23, 26, .45);
}
.sheet > article > h2:first-child,
.sheet > article > h3:first-child { margin-top: 0; }
.sheet > article > *:last-child { margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 8px;
  padding: 44px 20px 26px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto 34px;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(118deg, #fff1f4, #ffe6ec);
  box-shadow: var(--shadow-1), var(--shadow-2);
}
.foot-addr { font-style: normal; font-weight: 800; font-size: 1.15rem; }

.sub { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sub-label { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.sub-input {
  min-width: 172px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(38, 23, 26, .16);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
}
.sub-btn {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}
.sub-btn:hover { background: #3d272b; }

.foot-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 24px;
}
.foot-col h3 {
  margin-bottom: .55em;
  font-size: .82rem;
  letter-spacing: .14em;
  color: var(--ink-2);
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.foot-col li { margin: 0; }
.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 2px 0;
  font-size: .94rem;
  color: var(--ink-2);
  text-decoration: none;
}
.foot-col a:hover { color: var(--pink); }
.foot-note { font-size: .9rem; color: var(--ink-2); margin: 0 0 .6em; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink-2);
}
.foot-base p { margin: 0; }
.foot-base ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot-base li { margin: 0; }
.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}
.foot-base a:hover { color: var(--pink); }

/* ---------- 底部胶囊导航 ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 7px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1), 0 16px 36px -18px rgba(38, 23, 26, .55);
}

.dock-menu { position: relative; }
.dock-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.dock-menu > summary::-webkit-details-marker { display: none; }
.dock-menu > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .24s ease;
}
.dock-menu[open] > summary::after { transform: translateY(2px) rotate(-135deg); }

.dock-menu menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  min-width: 186px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-1), 0 24px 52px -24px rgba(38, 23, 26, .55);
  display: grid;
  gap: 2px;
}
.dock-menu menu li { margin: 0; }
.dock-menu menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}
.dock-menu menu a:hover { background: #fff2f4; }

.dock-call {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(38, 23, 26, .12);
  border-radius: 999px;
  background: #fff6f7;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.dock-call:hover { background: #ffe9ee; }

/* ---------- 动效 ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .28s ease, transform .28s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .pill, .sub-btn, .dock-menu > summary::after { transition: none; }
}

/* ---------- 断点 ---------- */
@media (max-width: 860px) {
  .sheet {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 34px 16px 56px;
  }
  .rail {
    grid-column: 1;
    grid-row: auto;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 16px 14px;
  }
  .rail-list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .rail-list a {
    padding: 6px 12px;
    background: #fff3f5;
    white-space: nowrap;
  }
  .sheet > article { grid-column: 1; padding: 20px 17px 16px; }
}

@media (max-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .foot-cta { padding: 20px 18px; }
  .sub-input { flex: 1 1 150px; min-width: 0; }
}

@media (max-width: 700px) {
  .hero { padding: 92px 16px 108px; min-height: 92svh; }
  .shot { width: 96px; padding: 6px; border-radius: 11px; opacity: .96; }
  .shot-a { top: 12%; left: -16px; }
  .shot-b { bottom: 15%; right: -16px; }
  .hero-sub { font-size: 1rem; }
  .hero-slash { height: 108px; }
  .pill { min-height: 46px; padding: 0 20px; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
