:root {
  --brand: #ff5c7a;
  --brand-deep: #e93d61;
  --brand-warm: #ff8b72;
  --ink: #241e20;
  --muted: #756b6e;
  --line: rgba(49, 35, 39, .11);
  --paper: #fff8f6;
  --white: #fff;
  --radius: 30px;
  --shadow: 0 28px 70px rgba(88, 41, 52, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: white; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(255,248,246,.86); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { width: min(1180px, calc(100% - 48px)); height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 8px 22px rgba(255,92,122,.18); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; color: #564c4f; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--brand-deep); }
.nav-download { padding: 12px 20px; border: 1px solid rgba(36,30,32,.16); border-radius: 999px; color: var(--ink) !important; background: rgba(255,255,255,.45); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--ink); transition: .2s ease; }

.hero { min-height: 820px; padding: 150px max(24px, calc((100vw - 1180px) / 2)) 80px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 44vw; height: 44vw; max-width: 680px; max-height: 680px; right: -8vw; top: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,185,.4), rgba(255,240,231,0) 68%); pointer-events: none; }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow, .section-kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--brand-deep); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--brand); }
.hero h1 { margin: 24px 0 26px; font-family: "STSong", "Songti SC", serif; font-size: clamp(64px, 7vw, 106px); line-height: .98; font-weight: 500; letter-spacing: -.07em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-lead { max-width: 530px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-width: 152px; padding: 16px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--brand), var(--brand-warm)); box-shadow: 0 14px 30px rgba(255,92,122,.26); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 44px; color: #8e8285; font-size: 12px; }
.trust-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--brand); }

.hero-visual { min-height: 600px; display: grid; place-items: center; }
.phone { width: 340px; min-height: 650px; padding: 16px 18px 18px; border: 9px solid #292326; border-radius: 48px; background: #fffdfc; box-shadow: 0 50px 90px rgba(63,35,43,.22), inset 0 0 0 1px rgba(255,255,255,.4); transform: rotate(2.4deg); }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 15px; font-size: 10px; font-weight: 700; }
.phone-top b { width: 74px; height: 20px; border-radius: 20px; background: #292326; }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 5px 18px; }
.app-bar div { display: grid; gap: 2px; }
.app-bar small { color: #a08f94; font-size: 10px; }
.app-bar strong { font-size: 19px; }
.avatar-mini { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: #2f292b; font-size: 12px; }
.profile-card { padding: 9px; border-radius: 25px; background: white; box-shadow: 0 16px 36px rgba(74,46,52,.13); }
.profile-art { height: 300px; position: relative; overflow: hidden; border-radius: 19px; background: linear-gradient(155deg, #ffd2ce, #eca4aa 54%, #6a4d56); }
.profile-art::before { content: ""; position: absolute; inset: 38px -35px -90px 65px; border-radius: 50% 50% 0 0; background: linear-gradient(155deg, #754c55, #261f22); transform: rotate(-8deg); }
.portrait-shape { position: absolute; width: 135px; height: 190px; left: 95px; bottom: 0; border-radius: 70px 70px 18px 18px; background: linear-gradient(#f4bd9f 0 35%, #f3ebe4 36%); box-shadow: -12px -30px 0 -2px #372a2e; }
.portrait-shape span { position: absolute; top: 44px; width: 100%; text-align: center; font: 500 26px "STSong", serif; color: #7c4f4f; }
.match-chip { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(45,34,38,.45); backdrop-filter: blur(8px); font-size: 10px; }
.profile-info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: white; text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.profile-info h2 { margin: 0; font-size: 22px; }
.profile-info h2 small { font: inherit; font-size: 13px; }
.profile-info p { margin: 5px 0 0; font-size: 11px; }
.profile-card blockquote { margin: 15px 7px 12px; font-size: 12px; line-height: 1.7; }
.tags { display: flex; gap: 7px; padding: 0 6px 8px; }
.tags span { padding: 6px 9px; border-radius: 999px; background: #fff1f1; color: #94656c; font-size: 9px; }
.nearby-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 4px; }
.nearby-row div { display: grid; gap: 3px; }
.nearby-row b { font-size: 14px; }
.nearby-row small { color: #a4969a; font-size: 9px; }
.nearby-row > span { color: var(--brand-deep); font-size: 9px; }
.dock { display: flex; justify-content: space-around; margin-top: 12px; padding: 13px 5px 4px; border-top: 1px solid #f0e7e5; }
.dock span { display: grid; place-items: center; gap: 3px; color: #9d9194; }
.dock span:first-child { color: var(--brand); }
.dock small { font-size: 8px; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.76); box-shadow: 0 18px 45px rgba(79,47,57,.13); backdrop-filter: blur(16px); }
.floating-note > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 12px; color: white; background: var(--brand); }
.floating-note div { display: grid; gap: 3px; }
.floating-note b { font-size: 12px; }
.floating-note small { color: #98898d; font-size: 9px; }
.note-one { left: 0; top: 135px; }
.note-two { right: -12px; bottom: 100px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 15px; height: 15px; left: 47%; top: 24%; background: var(--brand); opacity: .5; }
.orb-two { width: 9px; height: 9px; right: 9%; bottom: 18%; background: var(--brand-warm); opacity: .7; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section-kicker { margin: 0 0 24px; }
.manifesto { border-top: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: end; }
.manifesto h2, .section-heading h2, .safety h2, .download h2, .faq h2 { margin: 0; font: 500 clamp(40px, 5vw, 68px)/1.17 "STSong", "Songti SC", serif; letter-spacing: -.05em; }
.manifesto-copy { padding-bottom: 4px; }
.manifesto-copy p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.9; }

.features { padding-top: 80px; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: end; margin-bottom: 54px; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { min-height: 450px; padding: 38px; overflow: hidden; position: relative; border: 1px solid rgba(55,40,44,.07); border-radius: var(--radius); background: #f7e9e6; }
.feature-large { grid-column: span 2; min-height: 430px; background: #fff; }
.feature-dark { color: white; background: #2c2528; }
.feature-copy { position: relative; z-index: 2; max-width: 440px; }
.feature-copy > span { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.feature-copy h3 { margin: 22px 0 13px; font: 500 34px/1.25 "STSong", serif; }
.feature-copy p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.8; }
.feature-dark .feature-copy p { color: #c7bfc1; }
.match-stack { position: absolute; width: 430px; right: 55px; top: 58px; display: grid; gap: 12px; transform: rotate(-2deg); }
.match-stack div { display: flex; justify-content: space-between; align-items: center; padding: 25px 27px; border-radius: 19px; background: var(--paper); box-shadow: 0 15px 36px rgba(67,42,47,.08); }
.match-stack div:nth-child(2) { transform: translateX(-38px); }
.match-stack b { font-size: 14px; }
.match-stack span { color: #9c8c90; font-size: 12px; }
.post-demo { position: absolute; left: 38px; right: 38px; bottom: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.post-demo i { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(150deg, #cf8b85, #5f4650); }
.post-demo i:nth-child(2) { background: linear-gradient(150deg, #f6c5ad, #be737b); }
.post-demo i:nth-child(3) { background: linear-gradient(150deg, #d8bca5, #746051); }
.post-demo p { grid-column: span 3; margin: 7px 0 0; font: 500 17px "STSong", serif; }
.growth-ring { position: absolute; display: grid; place-items: center; align-content: center; width: 230px; height: 230px; right: 42px; bottom: 28px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.growth-ring::before, .growth-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,92,122,.6); }
.growth-ring::before { inset: 20px; border-right-color: transparent; transform: rotate(30deg); }
.growth-ring::after { inset: 43px; border-left-color: transparent; }
.growth-ring strong { color: var(--brand); font: 500 31px "STSong", serif; }
.growth-ring small { margin-top: 6px; color: #c9bec1; font-size: 10px; }

.safety-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 76px; border-radius: 40px; background: linear-gradient(135deg, #ffe6e1, #fff 62%); box-shadow: var(--shadow); }
.safety-copy > p:not(.section-kicker) { color: var(--muted); line-height: 1.9; }
.safety-copy a { display: inline-flex; gap: 12px; margin-top: 18px; color: var(--brand-deep); font-weight: 700; font-size: 14px; }
.safety-list { margin: 0; padding: 0; list-style: none; }
.safety-list li { display: flex; gap: 22px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.safety-list li > span { color: var(--brand); font-size: 12px; font-weight: 800; }
.safety-list div { display: grid; gap: 6px; }
.safety-list b { font-size: 17px; }
.safety-list small { color: var(--muted); }

.download { width: 100%; padding: 80px max(24px, calc((100vw - 1180px) / 2)); background: #2b2427; }
.download-card { min-height: 520px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; color: white; }
.download-copy > p:not(.section-kicker) { max-width: 570px; color: #cbbfc2; line-height: 1.9; }
.download-actions { display: flex; gap: 12px; margin-top: 30px; }
.store-button { min-width: 205px; display: flex; align-items: center; gap: 13px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 15px; color: white; background: rgba(255,255,255,.08); text-align: left; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.store-button:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.store-disabled { opacity: .58; }
.store-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--brand), var(--brand-warm)); font-weight: 900; }
.store-button > span:last-child { display: grid; gap: 2px; }
.store-button small { color: #cbbfc2; font-size: 9px; }
.store-button b { font-size: 14px; }
.download-note { display: block; margin-top: 20px; color: #968b8e; }
.download-mark { display: grid; justify-items: center; }
.icon-shell { width: 235px; height: 235px; display: grid; place-items: center; border-radius: 55px; background: white; box-shadow: 0 28px 70px rgba(0,0,0,.28); transform: rotate(3deg); }
.icon-shell img { width: 190px; height: 190px; }
.download-mark > span { margin-top: 25px; font-size: 28px; font-weight: 800; letter-spacing: .2em; text-indent: .2em; }
.download-mark > small { margin-top: 8px; color: #a99ea1; letter-spacing: .12em; }

.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; padding: 27px 2px; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--brand); font-size: 24px; font-weight: 300; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 760px; margin: -7px 0 27px; color: var(--muted); line-height: 1.85; }

.site-footer { padding: 20px max(24px, calc((100vw - 1180px) / 2)) 34px; background: white; }
.footer-top { min-height: 140px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.footer-top > p { color: var(--muted); }
.back-top { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; padding-top: 28px; color: #968a8d; font-size: 11px; }
.footer-bottom nav { display: flex; gap: 25px; }
.footer-bottom > span:last-child { text-align: right; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; padding: 12px 18px; border-radius: 999px; color: white; background: #2b2427; box-shadow: 0 12px 30px rgba(0,0,0,.2); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: .25s ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-visual { margin-top: 10px; }
  .hero h1 { letter-spacing: -.05em; }
  .manifesto-grid, .section-heading, .safety-panel, .download-card { grid-template-columns: 1fr; gap: 42px; }
  .section-heading > p { max-width: 580px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; min-height: 600px; }
  .match-stack { top: auto; right: 38px; bottom: 45px; }
  .download-mark { grid-row: 1; }
  .download-copy { text-align: center; }
  .download-copy > p:not(.section-kicker) { margin-inline: auto; }
  .download-actions { justify-content: center; }
}

@media (max-width: 720px) {
  .nav-wrap { width: calc(100% - 32px); height: 70px; }
  .brand { font-size: 19px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: center; gap: 28px; background: rgba(255,248,246,.97); backdrop-filter: blur(20px); font-size: 18px; visibility: hidden; opacity: 0; transition: .2s ease; }
  .site-nav.open { visibility: visible; opacity: 1; }
  .nav-download { padding: 14px 25px; }
  .hero { min-height: 0; padding: 118px 20px 70px; gap: 40px; }
  .hero h1 { margin-top: 18px; font-size: clamp(59px, 20vw, 80px); }
  .hero-lead { font-size: 15px; line-height: 1.8; }
  .hero-actions { width: 100%; }
  .button { flex: 1; min-width: 0; padding-inline: 15px; }
  .trust-line { margin-top: 32px; gap: 9px; }
  .hero-visual { min-height: 560px; width: 100%; }
  .phone { width: min(316px, 87vw); min-height: 600px; transform: rotate(1deg); }
  .profile-art { height: 270px; }
  .portrait-shape { left: 85px; }
  .floating-note { padding: 11px 13px; }
  .note-one { left: -5px; top: 100px; }
  .note-two { right: -3px; bottom: 55px; }
  .section { width: calc(100% - 40px); padding: 84px 0; }
  .manifesto-grid { gap: 28px; }
  .manifesto h2, .section-heading h2, .safety h2, .download h2, .faq h2 { font-size: 42px; }
  .section-heading { margin-bottom: 34px; gap: 22px; }
  .feature { min-height: 410px; padding: 27px; }
  .feature-large { min-height: 570px; }
  .feature-copy h3 { font-size: 29px; }
  .match-stack { width: auto; left: 27px; right: 27px; bottom: 30px; }
  .match-stack div { padding: 18px; }
  .match-stack div:nth-child(2) { transform: translateX(-9px); }
  .growth-ring { width: 190px; height: 190px; right: 20px; bottom: 25px; }
  .safety-panel { padding: 36px 27px; border-radius: 28px; }
  .download { width: 100%; padding: 70px 20px; }
  .download-card { gap: 40px; }
  .download-actions { flex-direction: column; }
  .store-button { width: 100%; justify-content: center; }
  .icon-shell { width: 180px; height: 180px; border-radius: 44px; }
  .icon-shell img { width: 148px; height: 148px; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top > p { grid-column: span 2; margin-top: -30px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom nav { order: -1; flex-wrap: wrap; }
  .footer-bottom > span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 法律文书页（/legal/*.html）===== */
.legal-header {
  position: sticky; inset: 0 0 auto; z-index: 100;
  background: rgba(255,248,246,.9); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.legal-header-inner {
  width: min(860px, calc(100% - 40px)); margin: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; font-size: 14px;
}
.legal-header .brand { font-size: 19px; }
.legal-header nav { display: flex; gap: 20px; color: #564c4f; flex-wrap: wrap; justify-content: flex-end; }
.legal-header nav a:hover { color: var(--brand-deep); }
.legal-doc { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 90px; }
.legal-doc-back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.legal-doc-back:hover { color: var(--brand-deep); }
.legal-doc h1 {
  margin: 0 0 10px; font-family: "STSong", "Songti SC", serif;
  font-size: clamp(34px, 5vw, 46px); font-weight: 500; letter-spacing: -.04em;
}
.legal-meta { color: #98898d; font-size: 13px; margin-bottom: 34px; }
.legal-doc h2 {
  margin: 44px 0 14px; font-size: 20px; font-weight: 700;
  padding-left: 14px; border-left: 4px solid var(--brand);
}
.legal-doc h3 { margin: 26px 0 10px; font-size: 16px; font-weight: 700; }
.legal-doc p, .legal-doc li { color: #4d4347; font-size: 15px; line-height: 1.95; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14px; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; line-height: 1.7; }
.legal-doc th { background: #fff1ee; font-weight: 700; white-space: nowrap; }
.legal-placeholder {
  color: var(--brand-deep); background: #fff0f0;
  border: 1px dashed var(--brand); border-radius: 8px;
  padding: 2px 6px; font-weight: 600;
}
.legal-footer {
  border-top: 1px solid var(--line); color: #98898d;
  font-size: 12.5px; padding: 26px 0 40px; text-align: center;
}
.legal-footer a { color: var(--muted); }
.legal-footer a:hover { color: var(--brand-deep); }
@media (max-width: 640px) {
  .legal-header nav { display: none; }
  .legal-doc th, .legal-doc td { padding: 8px 9px; font-size: 13px; }
  .legal-doc h2 { font-size: 18px; }
}
