:root {
  --bg: #FFF8FB;
  --surface: #FFFFFF;
  --pink-soft: #FFF0F6;
  --purple-soft: #F7F3FF;
  --gray-pink: #F8F4F6;
  --title: #32262D;
  --text: #51444C;
  --muted: #7C6D76;
  --subtle: #A09199;
  --pink: #FF5D9E;
  --berry: #D94C83;
  --coral: #FF8EAC;
  --purple: #8C76E8;
  --purple-dark: #6753B5;
  --border: rgba(255,93,158,.15);
  --shadow: 0 14px 36px rgba(76,48,66,.08);
  --shadow-strong: 0 18px 46px rgba(217,76,131,.15);
  --gradient: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
  --footer: #30242B;
  --footer-text: #FFEAF2;
  --shell: 1200px;
  --header-offset: 112px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; line-height: 1.75; overflow-x: hidden; }
body.menu-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--berry); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(140,118,232,.45); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 300; padding: 10px 16px; background: var(--title); color: white; border-radius: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; }
.notice-bar { background: var(--footer); color: var(--footer-text); font-size: 13px; }
.notice-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.notice-links { display: flex; gap: 18px; }
.notice-links a:hover { color: white; }
.main-nav { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.nav-inner { min-height: 74px; display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; color: var(--title); }
.brand img { width: 150px; max-height: 48px; object-fit: contain; }
.brand-text { font-size: 24px; font-weight: 900; letter-spacing: -.04em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.desktop-nav-links { flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { background: var(--pink-soft); color: var(--berry); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.button, .channel-trigger, .mobile-menu-trigger, .mobile-experience { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 22px; font-weight: 800; border: 0; cursor: pointer; white-space: nowrap; }
.button { color: white; background: var(--gradient); box-shadow: 0 10px 24px rgba(217,76,131,.22); }
.button:hover { color: white; transform: translateY(-1px); box-shadow: var(--shadow-strong); }
.button-secondary { background: white; color: var(--berry); border: 1px solid var(--border); box-shadow: none; }
.button-secondary:hover { color: var(--purple-dark); background: var(--purple-soft); }
.button-small { min-height: 42px; padding-inline: 18px; }
.channel-trigger, .mobile-menu-trigger { background: var(--gray-pink); color: var(--title); }
.channel-trigger:hover, .mobile-menu-trigger:hover { background: var(--pink-soft); }
.mobile-menu-trigger, .mobile-experience { display: none; }
.mobile-experience { color: white; background: var(--gradient); padding-inline: 16px; }
main { min-height: 65vh; }
.section { padding: 84px 0; }
.section-tight { padding: 58px 0; }
.section-soft { background: var(--pink-soft); }
.section-purple { background: var(--purple-soft); }
.section-white { background: var(--surface); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head > div { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--berry); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 999px; background: var(--gradient); }
h1, h2, h3 { color: var(--title); line-height: 1.22; margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.055em; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 10px; }
p { margin-top: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 820px; }
.text-link { color: var(--berry); font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.text-link::after { content: "→"; }
.hero { padding: 64px 0 56px; background: radial-gradient(circle at 20% 10%, rgba(255,142,172,.2), transparent 34%), radial-gradient(circle at 85% 15%, rgba(140,118,232,.16), transparent 30%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .78fr .62fr; gap: 28px; align-items: center; }
.hero-copy { padding: 24px 0; }
.hero-copy .brand-kicker { color: var(--berry); font-weight: 900; margin-bottom: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.phone-stage { min-height: 510px; display: grid; place-items: center; position: relative; border-radius: 36px; background: linear-gradient(160deg, #fff, #fff0f6 60%, #f7f3ff); box-shadow: var(--shadow); overflow: hidden; }
.phone-mock { width: min(78%, 310px); aspect-ratio: 9/18; border: 10px solid var(--title); border-radius: 40px; background: linear-gradient(180deg, #fff, #fff0f6); box-shadow: 0 26px 70px rgba(50,38,45,.18); padding: 18px; }
.phone-notch { width: 34%; height: 18px; border-radius: 999px; background: var(--title); margin: 0 auto 22px; }
.phone-screen { height: calc(100% - 40px); border-radius: 24px; background: linear-gradient(145deg, rgba(255,93,158,.14), rgba(140,118,232,.18)); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.phone-chip { height: 11px; width: 55%; border-radius: 999px; background: rgba(255,93,158,.35); }
.phone-card { background: rgba(255,255,255,.92); border-radius: 18px; padding: 16px; box-shadow: 0 10px 20px rgba(76,48,66,.08); }
.phone-card span { display: block; height: 8px; border-radius: 999px; background: rgba(124,109,118,.16); margin-top: 9px; }
.hero-side { display: grid; gap: 18px; }
.info-card, .content-card, .faq-card, .service-card, .topic-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.info-card { padding: 28px; min-height: 210px; }
.info-card:nth-child(2) { background: var(--purple-soft); }
.info-card .mini-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--gradient); margin-bottom: 24px; font-weight: 900; }
.theme-strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.theme-item { flex: 1 0 135px; min-width: 135px; scroll-snap-align: start; padding: 20px; border-radius: 20px; background: white; border: 1px solid var(--border); }
.theme-item h3 { font-size: 17px; }
.theme-item p { color: var(--muted); font-size: 14px; min-height: 48px; }
.magazine-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: auto auto; gap: 18px; }
.magazine-card { border-radius: 24px; padding: 28px; background: white; border: 1px solid var(--border); box-shadow: var(--shadow); min-height: 220px; position: relative; overflow: hidden; }
.magazine-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -55px; bottom: -70px; background: linear-gradient(135deg, rgba(255,93,158,.13), rgba(140,118,232,.12)); pointer-events: none; }
.magazine-card.feature { grid-row: span 2; min-height: 458px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, #fff, #fff0f6); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--pink-soft); color: var(--berry); font-size: 13px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { padding: 26px; }
.content-card p, .topic-card p, .service-card p { color: var(--muted); }
.card-meta { display: grid; gap: 7px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--border); font-size: 14px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: city; }
.timeline-item { counter-increment: city; position: relative; padding: 28px; background: white; border: 1px solid var(--border); border-radius: 24px; }
.timeline-item::before { content: "0" counter(city); display: inline-flex; margin-bottom: 22px; color: var(--purple); font-size: 28px; font-weight: 900; }
.topic-list { display: grid; gap: 14px; }
.topic-card { padding: 24px 26px; display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; }
.topic-number { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--pink-soft); color: var(--berry); font-weight: 900; }
.diary-layout, .split-layout, .app-layout, .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.diary-note { padding: 38px; border-radius: 30px; background: white; box-shadow: var(--shadow); }
.prompt-list { display: grid; gap: 14px; }
.prompt-item { padding: 20px; border-left: 4px solid var(--coral); border-radius: 8px 20px 20px 8px; background: var(--pink-soft); }
.app-visual { min-height: 480px; border-radius: 32px; background: linear-gradient(145deg, #fff, #f7f3ff); display: grid; place-items: center; box-shadow: var(--shadow); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { padding: 22px; }
.guidance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guidance-item { padding: 24px; border-radius: 22px; background: white; border: 1px solid var(--border); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.security-card { padding: 34px; border-radius: 28px; background: white; border: 1px solid var(--border); box-shadow: var(--shadow); }
.security-card:nth-child(2) { background: var(--purple-soft); }
.check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--berry); font-weight: 900; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feedback { padding: 26px; background: white; border-radius: 22px; border: 1px solid var(--border); }
.feedback::before { content: "“"; color: var(--coral); font-size: 50px; line-height: .7; font-weight: 900; }
.faq-list { display: grid; gap: 12px; }
details { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; color: var(--title); font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--berry); font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 20px; margin: 0; color: var(--muted); }
.page-hero { padding: 72px 0 58px; background: radial-gradient(circle at 15% 20%, rgba(255,142,172,.2), transparent 30%), radial-gradient(circle at 88% 0%, rgba(140,118,232,.15), transparent 30%); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .5fr; align-items: center; gap: 34px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 66px); }
.page-hero .lead { max-width: 760px; }
.hero-mark { min-height: 250px; border-radius: 34px; background: linear-gradient(145deg, #fff, #fff0f6 55%, #f7f3ff); box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-mark-inner { width: 150px; height: 150px; border-radius: 45px; background: var(--gradient); box-shadow: var(--shadow-strong); display: grid; place-items: center; color: white; font-size: 58px; font-weight: 900; transform: rotate(-7deg); }
.content-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.content-index a { padding: 9px 14px; border-radius: 999px; background: white; border: 1px solid var(--border); color: var(--berry); font-weight: 700; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { padding: 30px; background: white; border: 1px solid var(--border); border-radius: 24px; }
.article-card p:last-child { margin-bottom: 0; }
.numbered-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.step-card { counter-increment: steps; padding: 28px; border-radius: 24px; background: white; border: 1px solid var(--border); }
.step-card::before { content: counter(steps); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--gradient); color: white; font-weight: 900; margin-bottom: 20px; }
.notice-box { padding: 26px 28px; background: var(--purple-soft); border-left: 5px solid var(--purple); border-radius: 8px 24px 24px 8px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: white; border: 1px solid var(--border); font-weight: 700; color: var(--berry); }
.service-tip { padding: 28px; border-radius: 26px; background: var(--gradient); color: white; }
.service-tip h2, .service-tip h3 { color: white; }
.service-tip p { color: rgba(255,255,255,.88); }
.site-footer { background: var(--footer); color: var(--footer-text); padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 34px; }
.footer-grid section { min-width: 0; }
.footer-grid h2 { color: white; font-size: 16px; margin-bottom: 16px; }
.footer-grid a { display: block; color: rgba(255,234,242,.78); margin: 8px 0; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-brand p { max-width: 300px; color: rgba(255,234,242,.7); }
.footer-logo { display: inline-flex !important; align-items: center; min-height: 46px; margin-bottom: 14px !important; color: white !important; font-size: 24px !important; }
.footer-logo img { width: 150px; object-fit: contain; }
.footer-note { border-top: 1px solid rgba(255,255,255,.1); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; color: rgba(255,234,242,.66); font-size: 13px; }
.desktop-panel-wrap, .mobile-panel-wrap { position: fixed; inset: 0; z-index: 180; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .22s ease, visibility .22s ease; }
.desktop-panel-wrap.is-open, .mobile-panel-wrap.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.desktop-panel-backdrop, .mobile-backdrop { position: absolute; inset: 0; background: rgba(50,38,45,.42); }
.desktop-channel-panel { position: absolute; left: 0; right: 0; top: 108px; max-height: calc(100vh - 108px); overflow-y: auto; background: white; border-radius: 0 0 30px 30px; transform: translateY(-18px); transition: transform .22s ease; }
.desktop-panel-wrap.is-open .desktop-channel-panel { transform: translateY(0); }
.panel-shell { padding: 30px 0 38px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-head h2 { font-size: 30px; margin-bottom: 0; }
.close-button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--gray-pink); color: var(--title); cursor: pointer; font-weight: 800; }
.channel-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.channel-groups > div { padding: 22px; border-radius: 22px; background: var(--bg); }
.channel-groups h3 { font-size: 16px; }
.channel-groups a { display: block; padding: 12px; border-radius: 14px; }
.channel-groups a:hover { background: white; }
.channel-groups strong, .channel-groups span { display: block; }
.channel-groups span { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mobile-channel-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; overflow-y: auto; background: white; border-radius: 28px 28px 0 0; padding: 10px 16px calc(22px + env(safe-area-inset-bottom)); transform: translateY(102%); transition: transform .24s ease; }
.mobile-panel-wrap.is-open .mobile-channel-panel { transform: translateY(0); }
.drag-handle { width: 48px; height: 5px; border-radius: 999px; background: #ded5da; margin: 0 auto 12px; }
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 12px; }
.mobile-panel-head strong { font-size: 20px; color: var(--title); }
.mobile-brand { min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: var(--pink-soft); margin-bottom: 12px; color: var(--berry); font-weight: 900; font-size: 20px; }
.mobile-brand img { width: 130px; max-height: 39px; object-fit: contain; }
.mobile-channel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mobile-channel-list a { min-height: 48px; display: flex; align-items: center; padding: 0 16px; border-radius: 14px; background: var(--gray-pink); font-weight: 700; }
.mobile-bottom-nav { display: none; }
@media (max-width: 1020px) {
  .desktop-nav-links { gap: 2px; }
  .nav-link { padding-inline: 10px; }
  .hero-grid { grid-template-columns: 1fr .8fr; }
  .hero-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .card-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .guidance-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .channel-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-offset: 96px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .notice-inner { min-height: 32px; }
  .notice-links a:first-child { display: none; }
  .desktop-nav-links, .nav-actions { display: none; }
  .nav-inner { min-height: 64px; justify-content: space-between; gap: 10px; }
  .mobile-menu-trigger, .mobile-experience { display: inline-flex; }
  .mobile-menu-trigger { width: 108px; padding-inline: 12px; }
  .mobile-experience { min-width: 76px; }
  .brand { position: absolute; left: 50%; transform: translateX(-50%); max-width: 132px; text-align: center; }
  .brand-text { font-size: 20px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 46px 0; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 10px; }
  .hero { padding-top: 44px; }
  .hero-grid, .page-hero-grid, .diary-layout, .split-layout, .app-layout, .about-layout, .security-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 0; }
  h1 { font-size: 44px; }
  .phone-stage { min-height: 430px; }
  .phone-mock { max-width: 250px; }
  .hero-side { grid-column: auto; grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .magazine-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .magazine-card.feature { grid-row: auto; min-height: 330px; }
  .card-grid, .timeline, .feedback-grid, .article-grid, .numbered-steps, .app-grid { grid-template-columns: 1fr; }
  .topic-card { grid-template-columns: 44px 1fr; }
  .topic-card .text-link { grid-column: 2; }
  .guidance-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 52px 0 44px; }
  .hero-mark { min-height: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { display: block; padding-bottom: 86px; }
  .desktop-panel-wrap { display: none; }
  .mobile-bottom-nav { position: fixed; z-index: 120; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); min-height: 62px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px; background: rgba(255,255,255,.95); border: 1px solid var(--border); box-shadow: 0 12px 36px rgba(76,48,66,.15); backdrop-filter: blur(14px); }
  .mobile-bottom-nav a { min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 16px; color: var(--muted); font-size: 13px; font-weight: 800; }
  .mobile-bottom-nav a.is-active { color: white; background: var(--gradient); }
  .site-footer { padding-bottom: 0; }
}
@media (max-width: 430px) {
  .mobile-menu-trigger { width: 96px; font-size: 13px; }
  .mobile-experience { min-width: 68px; padding-inline: 12px; font-size: 13px; }
  .brand-text { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-channel-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
