:root {
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #25231f;
  --muted: #736f68;
  --line: #ded8cf;
  --sage: #5f7468;
  --sage-dark: #3f554a;
  --sage-soft: #dce5de;
  --rose: #b87972;
  --rose-soft: #f0deda;
  --sand: #ded0bd;
  --yellow: #f3d99a;
  --shadow: 0 20px 60px rgba(73, 60, 44, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(233, 215, 198, .55), transparent 26rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(222, 216, 207, .8);
  background: rgba(247, 244, 239, .89);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50% 50% 44% 56%;
  background: var(--sage-dark); color: white; font-weight: 800;
  transform: rotate(-8deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .08em; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); font-size: 14px; }
.nav a { position: relative; color: #4f4c46; }
.nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-6px; height:1px; background:var(--ink); transition:.25s; }
.nav a:hover::after { right:0; }
.menu-btn { display: none; border: 0; background: transparent; font-size: 24px; }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 5vw;
  padding: 72px 8vw 54px;
  overflow: hidden;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.22;
  letter-spacing: -.01em;
  font-weight: 600;
}
.hero h1 em { color: var(--sage-dark); font-style: normal; }
.hero-copy > p { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-weight: 650; font-size: 14px;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--sage-dark); color: white; box-shadow: 0 12px 30px rgba(63,85,74,.18); }
.btn.secondary { border-color: var(--line); background: rgba(255,255,255,.45); }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(95,116,104,.18); border-radius: 50%; }
.orbit-one { width: 490px; height: 490px; }
.orbit-two { width: 370px; height: 370px; border-style: dashed; transform: rotate(18deg); }
.bump-card {
  position: relative; z-index: 2;
  width: min(360px, 86vw);
  aspect-ratio: .75;
  padding: 28px;
  border-radius: 180px 180px 28px 28px;
  background: linear-gradient(160deg, #53685b, #314439);
  color: #f5f0e8;
  box-shadow: 0 40px 80px rgba(48, 60, 52, .24);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bump-label { position:absolute; top:36px; left:50%; transform:translateX(-50%); font-size:10px; letter-spacing:.2em; opacity:.72; }
.bump-illustration { position:absolute; inset:84px 40px 126px; border-radius:50%; background:radial-gradient(circle at 55% 50%, #d9c5a9 0 31%, transparent 32%), radial-gradient(circle at 52% 52%, rgba(255,255,255,.08), transparent 60%); }
.moon { position:absolute; width:150px; height:210px; border-radius:49% 51% 46% 54%; background:#e9d9c2; left:50%; top:50%; transform:translate(-50%,-50%) rotate(18deg); box-shadow:inset -24px -12px 0 rgba(174,145,111,.18); }
.spark { position:absolute; color:var(--yellow); opacity:.9; }
.s1{top:4%;left:12%;font-size:20px}.s2{top:22%;right:10%;font-size:12px}.s3{bottom:5%;left:24%;font-size:30px}
.bump-card strong { font-family:var(--font-serif); font-size:22px; font-weight:600; line-height:1.55; }
.bump-card small { margin-top:8px; opacity:.68; letter-spacing:.08em; }

.search-section { padding: 22px 8vw 30px; }
.search-wrap {
  max-width: 980px; margin: 0 auto;
  min-height: 62px; display:flex; align-items:center; gap:12px; padding:0 18px;
  background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow);
}
.search-wrap > span { font-size: 26px; transform: rotate(-15deg); color: var(--muted); }
.search-wrap input { flex:1; min-width:0; border:0; outline:0; background:transparent; font-size:15px; }
kbd { border:1px solid var(--line); border-bottom-width:2px; padding:3px 7px; border-radius:6px; color:var(--muted); background:#faf8f4; font-size:11px; }
.quick-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:14px; }
.quick-tags button { border:1px solid var(--line); background:rgba(255,255,255,.4); border-radius:999px; padding:6px 12px; font-size:12px; cursor:pointer; color:var(--muted); }

.stage-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin:60px 5vw 90px; background:var(--line); border:1px solid var(--line); }
.stage-card { min-height:230px; padding:28px; background:var(--paper); display:flex; flex-direction:column; position:relative; transition:.25s; }
.stage-card:hover { transform:translateY(-6px); z-index:2; box-shadow:var(--shadow); }
.stage-card > b { position:absolute; right:24px; bottom:20px; font-size:24px; font-weight:400; }
.stage-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; font-size:11px; font-weight:800; }
.stage-card span { display:block; margin-top:30px; font-size:10px; text-transform:uppercase; letter-spacing:.16em; color:var(--muted); }
.stage-card h2 { margin:2px 0 5px; font-family:var(--font-serif); font-weight:600; font-size:30px; line-height:1.4; }
.stage-card p { margin:0; font-size:13px; line-height:1.7; color:var(--muted); max-width:220px; }
.stage-card.pregnancy .stage-icon { background:var(--sage-soft); }
.stage-card.birth .stage-icon { background:var(--rose-soft); }
.stage-card.postpartum .stage-icon { background:#eee2ce; }
.stage-card.baby .stage-icon { background:#e2e5ed; }

.section-shell { width:min(1180px,90vw); margin:0 auto 110px; }
.section-heading { display:grid; grid-template-columns:1fr minmax(280px,520px); gap:50px; align-items:end; margin-bottom:32px; padding-bottom:24px; border-bottom:1px solid var(--line); }
.section-heading.compact { margin-bottom:20px; }
.section-heading h2 { margin:0; font-family:var(--font-serif); font-size:clamp(34px,3.6vw,50px); font-weight:600; line-height:1.25; letter-spacing:-.01em; }
.section-heading p { margin:0; color:var(--muted); font-size:14px; line-height:1.8; }

.week-tool { background:var(--paper); border:1px solid var(--line); border-radius:26px; padding:34px; box-shadow:var(--shadow); }
.week-panel { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.week-panel label { display:grid; gap:6px; font-size:12px; color:var(--muted); }
.week-panel input { min-width:190px; padding:10px 12px; border:1px solid var(--line); background:white; border-radius:10px; color:var(--ink); }
.text-btn { border:0; background:transparent; text-decoration:underline; color:var(--muted); cursor:pointer; padding:12px 8px; }
.week-result { margin-left:auto; min-width:250px; padding:16px 18px; border-left:1px solid var(--line); }
.week-result strong { display:block; font-family:var(--font-serif); font-size:28px; font-weight:600; }
.week-result span { color:var(--muted); font-size:13px; }

.article-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.article-card { min-height:280px; display:flex; flex-direction:column; padding:24px; background:var(--paper); border:1px solid var(--line); border-radius:18px; cursor:pointer; transition:.25s; }
.article-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:#cfc7bc; }
.article-card.featured { grid-column:span 2; background:linear-gradient(145deg,#eef2ee,#fffdf9); }
.card-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.tag { display:inline-flex; padding:5px 9px; border-radius:999px; background:#efebe5; color:#5b5750; font-size:11px; font-weight:650; }
.read-time { color:var(--muted); font-size:11px; }
.article-card h3 { margin:30px 0 12px; font-family:var(--font-serif); font-size:25px; font-weight:600; line-height:1.48; letter-spacing:-.005em; }
.article-card p { margin:0; color:var(--muted); font-size:13px; line-height:1.75; }
.card-bottom { display:flex; justify-content:space-between; align-items:end; margin-top:auto; padding-top:20px; }
.card-bottom small { color:#9a958d; }
.card-bottom b { font-size:22px; font-weight:400; }

.updates-list { border-top:1px solid var(--line); }
.update-item { display:grid; grid-template-columns:130px 260px 1fr; gap:22px; padding:20px 0; border-bottom:1px solid var(--line); }
.update-item time { font-size:12px; color:var(--muted); }
.update-item strong { font-size:14px; }
.update-item p { margin:0; color:var(--muted); font-size:13px; }

.principles-card { padding:52px; border-radius:30px; background:#314439; color:#f5f1e9; }
.principles-card .eyebrow { color:#cbd8cf; }
.principles-card > h2 { margin:0 0 40px; font-family:var(--font-serif); font-size:44px; font-weight:600; line-height:1.35; }
.principle-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.principle-grid > div { padding-top:20px; border-top:1px solid rgba(255,255,255,.18); }
.principle-grid b { font-size:11px; opacity:.55; }
.principle-grid h3 { margin:18px 0 8px; font-size:17px; }
.principle-grid p { margin:0; color:#d7ddd8; font-size:13px; line-height:1.75; }

footer { display:grid; grid-template-columns:1fr 1.5fr auto; gap:40px; align-items:end; padding:44px 6vw; border-top:1px solid var(--line); color:var(--muted); }
footer strong { color:var(--ink); }
footer p { margin:5px 0 0; font-size:12px; }
.disclaimer { max-width:650px; }

.modal, .search-overlay { position:fixed; inset:0; z-index:100; display:none; }
.modal.open, .search-overlay.open { display:block; }
.modal-backdrop, .search-overlay { background:rgba(28,27,24,.62); backdrop-filter:blur(8px); }
.modal-card { position:absolute; right:0; top:0; height:100%; width:min(720px,94vw); overflow:auto; padding:58px clamp(28px,6vw,72px); background:var(--paper); box-shadow:-20px 0 70px rgba(0,0,0,.16); }
.modal-close { position:absolute; top:22px; right:24px; width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:white; font-size:25px; cursor:pointer; }
.modal-meta { display:flex; gap:12px; color:var(--muted); font-size:12px; }
.modal-card h2 { margin:20px 0; font-family:var(--font-serif); font-size:clamp(32px,4vw,46px); font-weight:600; line-height:1.38; letter-spacing:-.01em; }
.modal-summary { max-width:36em; color:var(--sage-dark); font-size:17px; font-weight:500; line-height:1.8; }
.modal-body { margin-top:36px; font-size:16px; line-height:1.9; }
.modal-body p { margin:0 0 1.15em; }
.modal-body::before { content:"正文"; display:block; margin-bottom:16px; color:var(--muted); font-size:10px; letter-spacing:.18em; font-weight:800; }

.search-overlay.open { display:flex; justify-content:center; align-items:flex-start; padding:10vh 5vw; }
.search-modal { width:min(900px,100%); max-height:80vh; overflow:auto; background:var(--paper); border-radius:22px; box-shadow:0 30px 100px rgba(0,0,0,.28); }
.overlay-search { position:sticky; top:0; z-index:2; border-radius:22px 22px 0 0; box-shadow:none; border-width:0 0 1px; max-width:none; }
.overlay-search button { border:1px solid var(--line); border-radius:7px; background:#f7f4ef; color:var(--muted); font-size:10px; padding:4px 7px; cursor:pointer; }
.search-results { padding:14px; }
.search-result { width:100%; text-align:left; display:grid; grid-template-columns:100px 1fr auto; gap:14px; padding:18px; border:0; border-bottom:1px solid var(--line); background:transparent; cursor:pointer; }
.search-result:hover { background:#f6f2eb; }
.search-result .category { color:var(--sage-dark); font-size:11px; font-weight:800; }
.search-result strong { font-family:var(--font-serif); font-size:18px; font-weight:600; line-height:1.55; }
.search-result small { color:var(--muted); }
.empty { padding:40px; text-align:center; color:var(--muted); }

@media (max-width: 950px) {
  .hero { grid-template-columns:1fr; padding-top:54px; }
  .hero-visual { min-height:470px; }
  .stage-grid { grid-template-columns:1fr 1fr; }
  .article-grid { grid-template-columns:1fr 1fr; }
  .section-heading { grid-template-columns:1fr; gap:14px; align-items:start; }
  .principle-grid { grid-template-columns:1fr; }
  footer { grid-template-columns:1fr; }
}

@media (max-width: 700px) {
  .site-header { min-height:68px; padding:0 20px; }
  .nav { display:none; position:absolute; left:0; right:0; top:68px; flex-direction:column; gap:0; background:var(--paper); border-bottom:1px solid var(--line); }
  .nav.open { display:flex; }
  .nav a { padding:14px 22px; border-top:1px solid #eee9e2; }
  .menu-btn { display:block; }
  .hero { padding:44px 20px 20px; min-height:auto; }
  .hero h1 { font-size:40px; line-height:1.3; }
  .hero-copy > p { font-size:16px; line-height:1.85; }
  .hero-actions { flex-wrap:wrap; }
  .hero-visual { min-height:410px; }
  .orbit-one { width:410px; height:410px; }
  .orbit-two { width:320px; height:320px; }
  .bump-card { width:290px; }
  .search-section { padding:22px 20px; }
  kbd { display:none; }
  .stage-grid { grid-template-columns:1fr; margin:40px 20px 70px; }
  .stage-card { min-height:180px; }
  .stage-card span { margin-top:20px; }
  .section-shell { width:calc(100% - 40px); margin-bottom:74px; }
  .article-grid { grid-template-columns:1fr; }
  .article-card.featured { grid-column:span 1; }
  .week-tool { padding:24px 20px; }
  .week-result { width:100%; margin-left:0; border-left:0; border-top:1px solid var(--line); padding-left:0; }
  .update-item { grid-template-columns:1fr; gap:5px; }
  .principles-card { padding:32px 24px; }
  .principles-card > h2 { font-size:36px; }
  .search-result { grid-template-columns:1fr; gap:4px; }
  .modal-card { width:100%; padding:64px 24px 44px; }
  .modal-card h2 { font-size:32px; line-height:1.4; }
  .modal-summary { font-size:16px; }
  .modal-body { font-size:16px; line-height:1.9; }
}


/* Rich article content */
.modal-body .article-section { margin: 0 0 34px; }
.modal-body .article-section h3,
.modal-body .article-sources h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}
.modal-body .article-section p { margin: 0 0 14px; }
.modal-body .article-section ul,
.modal-body .article-sources ul { margin: 10px 0 0; padding-left: 1.25em; }
.modal-body .article-section li,
.modal-body .article-sources li { margin: 0 0 10px; color: #4f4b45; }
.article-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--sage-dark);
  border-radius: 0 10px 10px 0;
  background: var(--sage-soft);
  color: #39463e;
  font-size: 14px;
  line-height: 1.7;
}
.article-figure {
  margin: 18px 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f1e8;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article-figure figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.article-video {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #cbd8cf;
  border-radius: 14px;
  background: #f2f6f3;
  transition: border-color .2s ease, transform .2s ease;
}
.article-video:hover { border-color: var(--sage); transform: translateY(-1px); }
.article-video-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: white;
  font-size: 14px;
}
.article-video span:nth-child(2) { display: grid; gap: 3px; }
.article-video small { color: var(--sage-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-video strong { color: var(--ink); font-size: 14px; line-height: 1.45; }
.article-video em { color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.55; }
.article-video > b { color: var(--sage-dark); }
.article-sources {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article-sources > p { color: var(--muted); font-size: 12px; }
.article-sources a { color: var(--sage-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 520px) {
  .article-video { grid-template-columns: 40px 1fr; }
  .article-video-icon { width: 40px; height: 40px; }
  .article-video > b { display: none; }
}
