:root {
  --bg: #FFF8FB;
  --surface: #FFFFFF;
  --pink-soft: #FFF0F6;
  --purple-soft: #F7F3FF;
  --gray-pink: #F8F4F6;
  --text: #32262D;
  --body: #51444C;
  --muted: #7C6D76;
  --faint: #A09199;
  --brand: #FF5D9E;
  --berry: #D94C83;
  --coral: #FF8EAC;
  --purple: #8C76E8;
  --deep-purple: #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);
  --footer: #30242B;
  --footer-text: #FFEAF2;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.75; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--berry); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(140,118,232,.42); outline-offset: 3px; }
button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.site-shell { position: sticky; top: 0; z-index: 70; }
.notice-bar { background: #fff; border-bottom: 1px solid var(--border); font-size: 13px; }
.notice-inner { width: min(var(--max), calc(100% - 40px)); min-height: 34px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); }
.notice-links { display: flex; gap: 18px; }
.main-nav { background: rgba(255,248,251,.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.nav-inner { width: min(var(--max), calc(100% - 40px)); height: 72px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 38px; padding: 0 14px; border-radius: 14px; background: linear-gradient(135deg,#FF8EAC 0%,#FF5D9E 52%,#8C76E8 100%); color: #fff; letter-spacing: .03em; box-shadow: 0 8px 24px rgba(217,76,131,.18); }
.desktop-nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 34px); white-space: nowrap; }
.desktop-nav-links a { position: relative; font-weight: 650; color: var(--muted); padding: 8px 0; }
.desktop-nav-links a.is-active, .desktop-nav-links a:hover { color: var(--text); }
.desktop-nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 22px; height: 3px; border-radius: 999px; background: linear-gradient(90deg,var(--brand),var(--purple)); transform: translateX(-50%); pointer-events: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.btn, .channel-trigger { min-height: 44px; border-radius: 999px; border: 1px solid transparent; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; cursor: pointer; white-space: nowrap; position: relative; z-index: 1; }
.btn { background: linear-gradient(135deg,#FF8EAC 0%,#FF5D9E 52%,#8C76E8 100%); color: #fff; box-shadow: var(--shadow-strong); }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--berry); border-color: var(--border); box-shadow: none; }
.btn-secondary:hover { color: var(--deep-purple); background: var(--purple-soft); }
.btn-small { min-height: 40px; padding-inline: 17px; }
.channel-trigger { background: #fff; border-color: var(--border); color: var(--text); }
.mobile-only { display: none; }
.section { padding: 78px 0; }
.section.compact { padding: 56px 0; }
.section.tint { background: linear-gradient(180deg, rgba(255,240,246,.78), rgba(247,243,255,.54)); }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--berry); }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 999px; background: linear-gradient(90deg,var(--brand),var(--purple)); pointer-events: none; }
h1,h2,h3 { color: var(--text); line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.04em; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.025em; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { margin-top: 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 760px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.text-link { color: var(--berry); font-weight: 750; }
.text-link::after { content: " →"; }
.hero { padding: 72px 0 52px; background: radial-gradient(circle at 78% 20%, rgba(140,118,232,.13), transparent 28%), radial-gradient(circle at 20% 26%, rgba(255,93,158,.12), transparent 30%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .82fr .75fr; gap: 28px; align-items: stretch; }
.hero-copy { padding: 26px 0; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.phone-visual { min-height: 520px; border-radius: 34px; background: linear-gradient(160deg,#fff 0%,#FFF0F6 42%,#F7F3FF 100%); border: 1px solid var(--border); box-shadow: var(--shadow-strong); display: flex; align-items: center; justify-content: center; padding: 30px; overflow: hidden; position: relative; }
.phone-frame { width: min(250px, 78%); aspect-ratio: 9/18.7; border-radius: 36px; border: 10px solid #30242B; background: linear-gradient(180deg,#fff 0%,#FFF5F9 70%,#F5F0FF 100%); box-shadow: 0 24px 50px rgba(50,38,45,.16); padding: 22px 14px; display: flex; flex-direction: column; gap: 12px; }
.phone-notch { width: 74px; height: 16px; border-radius: 999px; background: #30242B; margin: 0 auto 6px; }
.phone-card { border-radius: 16px; background: #fff; border: 1px solid var(--border); padding: 14px; }
.phone-card.large { min-height: 122px; background: linear-gradient(135deg,#FFF0F6,#F7F3FF); }
.phone-lines { display: grid; gap: 7px; }
.phone-lines i { display: block; height: 8px; border-radius: 999px; background: #EEDCE5; }
.phone-lines i:nth-child(2) { width: 72%; }
.phone-lines i:nth-child(3) { width: 84%; }
.hero-side { display: grid; gap: 18px; }
.info-card, .card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); padding: 26px; }
.info-card { display: flex; flex-direction: column; justify-content: center; min-height: 220px; }
.info-card:nth-child(2) { background: linear-gradient(150deg,#fff,#F7F3FF); }
.topic-strip { display: grid; grid-template-columns: repeat(8, minmax(130px, 1fr)); gap: 12px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; }
.topic-chip { min-width: 150px; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.topic-chip h3 { font-size: 17px; margin-bottom: 7px; }
.topic-chip p { font-size: 14px; color: var(--muted); min-height: 50px; }
.magazine-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 18px; }
.story-card { border-radius: 24px; border: 1px solid var(--border); background: #fff; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.story-card.featured { grid-row: span 2; min-height: 410px; background: linear-gradient(155deg,#FFF0F6,#fff 48%,#F7F3FF); }
.story-card:nth-child(3n) { background: var(--purple-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--gray-pink); color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.circle-card p, .topic-card p, .card p { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(6,minmax(180px,1fr)); gap: 14px; overflow-x: auto; padding-bottom: 10px; }
.timeline article { min-width: 210px; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px; position: relative; }
.timeline article::before { content: ""; display: block; width: 34px; height: 5px; border-radius: 999px; background: linear-gradient(90deg,var(--brand),var(--purple)); margin-bottom: 16px; pointer-events: none; }
.diary-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: center; }
.diary-copy { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.diary-prompts { display: grid; gap: 12px; }
.diary-prompts article { border-radius: 18px; background: var(--pink-soft); padding: 20px; }
.diary-prompts article:nth-child(2) { background: var(--purple-soft); }
.diary-prompts article:nth-child(3) { background: var(--gray-pink); }
.app-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 34px; align-items: center; padding: 36px; border-radius: 34px; background: linear-gradient(135deg,#FFF0F6,#fff 44%,#F7F3FF); border: 1px solid var(--border); box-shadow: var(--shadow); }
.app-visual { min-height: 360px; display: flex; align-items: center; justify-content: center; }
.app-visual .phone-frame { width: 210px; transform: rotate(-3deg); }
.safety-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.safety-box { border-radius: 26px; padding: 30px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.safety-box:nth-child(2) { background: linear-gradient(155deg,#fff,#F7F3FF); }
.safety-box ul, .content-article ul, .content-article ol { padding-left: 1.2em; }
.feedback-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feedback { position: relative; padding-top: 36px; }
.feedback::before { content: "“"; position: absolute; top: 12px; left: 20px; font-size: 42px; line-height: 1; color: rgba(217,76,131,.35); pointer-events: none; }
.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 0 20px; box-shadow: 0 8px 24px rgba(76,48,66,.04); }
summary { cursor: pointer; list-style: none; font-weight: 750; color: var(--text); padding: 19px 34px 19px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 17px; color: var(--berry); font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; margin: 0; color: var(--muted); }
.page-hero { padding: 64px 0 34px; background: linear-gradient(180deg, rgba(255,240,246,.86), rgba(255,248,251,0)); }
.page-hero .lead { max-width: 850px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .5fr); gap: 28px; align-items: start; }
.content-stack { display: grid; gap: 20px; }
.content-article { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.content-article:nth-child(even) { background: linear-gradient(155deg,#fff,#FFF8FB); }
.content-article h2 { font-size: 27px; }
.content-article h3 { margin-top: 22px; }
.side-note { position: sticky; top: 130px; background: linear-gradient(150deg,#FFF0F6,#F7F3FF); border: 1px solid var(--border); border-radius: 24px; padding: 24px; }
.side-note h2 { font-size: 22px; }
.link-list { display: grid; gap: 9px; }
.link-list a { background: #fff; border: 1px solid var(--border); border-radius: 14px; min-height: 44px; padding: 9px 13px; display: flex; align-items: center; justify-content: space-between; }
.link-list a::after { content: "→"; color: var(--berry); }
.steps { counter-reset: step; display: grid; gap: 14px; }
.steps article { position: relative; padding: 22px 22px 22px 72px; background: #fff; border: 1px solid var(--border); border-radius: 20px; }
.steps article::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,var(--coral),var(--purple)); color: #fff; font-weight: 800; }
.notice-card { border-left: 4px solid var(--brand); background: var(--pink-soft); padding: 20px 22px; border-radius: 0 18px 18px 0; }
.service-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-radius: 26px; background: linear-gradient(135deg,#30242B,#4a3340 52%,#493d75); color: var(--footer-text); }
.service-banner h2 { color: #fff; margin-bottom: 6px; font-size: 28px; }
.service-banner p { margin-bottom: 0; color: #f4dfe8; }
.site-footer { background: var(--footer); color: var(--footer-text); padding: 58px 0 100px; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.footer-brand { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 20px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,234,242,.12); }
.footer-brand p { margin: 0; color: #d9c7cf; max-width: 700px; }
.footer-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; padding: 34px 0; }
.footer-groups section { display: grid; align-content: start; gap: 8px; }
.footer-groups h2 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.footer-groups a { color: #dccad2; font-size: 14px; }
.footer-note { color: #d9c7cf; border-top: 1px solid rgba(255,234,242,.12); padding-top: 24px; }
.copyright { color: #a9959f; margin-top: 10px; font-size: 13px; }
.channel-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(48,36,43,.32); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
.channel-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.desktop-channel-panel { position: fixed; top: 106px; left: 50%; z-index: 90; width: min(var(--max), calc(100% - 40px)); transform: translate(-50%,-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: .22s ease; }
.desktop-channel-panel.is-open { transform: translate(-50%,0); opacity: 1; visibility: visible; pointer-events: auto; }
.channel-panel-inner { background: #fff; border: 1px solid var(--border); border-radius: 0 0 28px 28px; box-shadow: 0 28px 70px rgba(48,36,43,.18); padding: 20px 24px 28px; }
.channel-panel-head, .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.channel-panel-head button, .sheet-head button { min-height: 40px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 0 14px; cursor: pointer; }
.channel-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.channel-groups h2 { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.channel-groups section { display: grid; gap: 7px; align-content: start; }
.channel-groups a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 14px; }
.channel-groups a:hover { background: var(--pink-soft); }
.channel-groups b { color: var(--text); font-size: 14px; }
.channel-groups span { color: var(--muted); font-size: 12px; }
.mobile-channel-sheet, .mobile-bottom-nav { display: none; }
body.channels-open { overflow: hidden; }

@media (max-width: 980px) {
  .desktop-nav-links { gap: 14px; }
  .nav-inner { gap: 14px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .info-card { min-height: 150px; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feedback-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .desktop-only, .desktop-nav-links { display: none !important; }
  .mobile-only { display: inline-flex; }
  .notice-inner, .nav-inner, .container, .footer-inner { width: min(100% - 32px, var(--max)); }
  .notice-inner { min-height: 32px; font-size: 12px; }
  .notice-links a:first-child { display: none; }
  .notice-links { gap: 0; }
  .nav-inner { height: 64px; grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .nav-inner .brand { justify-self: center; }
  .nav-actions { justify-self: end; }
  .channel-trigger.mobile-only { justify-self: start; min-height: 44px; padding: 0 10px; font-size: 13px; }
  .nav-actions .btn { min-height: 44px; padding: 0 13px; font-size: 13px; }
  .brand-mark { min-width: 50px; height: 36px; padding: 0 12px; }
  .section { padding: 54px 0; }
  .section.compact { padding: 42px 0; }
  .hero { padding: 46px 0 38px; }
  .hero-grid, .diary-panel, .app-panel, .safety-split, .content-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 0; }
  .phone-visual { min-height: 440px; }
  .hero-side { grid-column: auto; grid-template-columns: 1fr; overflow-x: auto; display: flex; scroll-snap-type: x mandatory; }
  .hero-side .info-card { min-width: 84%; scroll-snap-align: start; }
  .topic-strip { grid-template-columns: repeat(8, 72vw); }
  .magazine-grid, .grid-2, .grid-3, .grid-4, .feedback-grid { grid-template-columns: 1fr; }
  .story-card.featured { grid-row: auto; min-height: auto; }
  .timeline { grid-template-columns: repeat(6,78vw); }
  .app-panel { padding: 26px; }
  .section-head { align-items: start; flex-direction: column; }
  .side-note { position: static; }
  .service-banner { flex-direction: column; align-items: flex-start; }
  .footer-brand { grid-template-columns: 1fr; }
  .footer-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .desktop-channel-panel { display: none; }
  .mobile-channel-sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; max-height: 85vh; background: #fff; border-radius: 26px 26px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); transform: translateY(105%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; box-shadow: 0 -24px 60px rgba(48,36,43,.2); overflow: hidden; }
  .mobile-channel-sheet.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .sheet-grip { width: 48px; height: 5px; border-radius: 999px; background: #e7dbe1; margin: 2px auto 9px; }
  .sheet-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow-y: auto; max-height: calc(85vh - 86px); padding: 2px 0 10px; }
  .sheet-nav a { min-height: 48px; border: 1px solid var(--border); background: var(--bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
  .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); backdrop-filter: blur(12px); }
  .mobile-bottom-nav a { min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
  .mobile-bottom-nav a.is-active { background: var(--pink-soft); color: var(--berry); }
  .site-footer { padding-bottom: 42px; }
}
@media (max-width: 430px) {
  h1 { font-size: 42px; }
  .footer-groups { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .content-article { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (min-width: 761px) {
  .channel-overlay.is-visible { background: transparent; opacity: 0; pointer-events: none; }
}

.channel-groups a.is-active, .sheet-nav a.is-active { background: var(--pink-soft); color: var(--berry); }
.channel-groups a.is-active b { color: var(--berry); }
