:root {
    --bg: #FFF8FA;
    --deep: #FFF0F4;
    --surface: #FFFFFF;
    --subsurface: #F8E8EE;
    --title: #2A1820;
    --text: #3C2830;
    --muted: #6A4E58;
    --soft: #9A7A84;
    --pink: #E85A7A;
    --pink-bright: #F07A96;
    --pink-soft: #F6C2D0;
    --apricot: #F3D7C4;
    --mist: #C9B4D4;
    --border: rgba(232,90,122,0.16);
    --shadow: 0 14px 36px rgba(42,24,32,0.08);
    --header-h: 120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(232,90,122,.32); outline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
.shell { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1200; background: var(--title); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.site-top { position: fixed; inset: 0 0 auto 0; z-index: 800; box-shadow: 0 5px 18px rgba(42,24,32,.04); }
.pink-line { height: 18px; background: var(--pink); color: #fff; font-size: 11px; line-height: 18px; }
.pink-line-inner { display: flex; align-items: center; justify-content: space-between; height: 18px; }
.micro-brand { letter-spacing: .05em; font-weight: 700; }
.text-control { border: 0; background: transparent; color: #fff; padding: 0 2px; min-width: 44px; height: 18px; font-size: 11px; }
.platform-bar { height: 62px; background: rgba(255,248,250,.98); border-bottom: 1px solid var(--border); }
.platform-inner { height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo, .drawer-logo, .footer-logo { object-fit: contain; object-position: left center; }
.brand-logo { width: auto; max-width: 145px; height: 34px; }
.brand-fallback { font-weight: 800; color: var(--title); font-size: 22px; letter-spacing: .03em; }
.drawer-trigger, .app-link, .btn, .ghost-btn { min-height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; font-weight: 700; }
.drawer-trigger { justify-self: center; border: 1px solid var(--border); color: var(--pink); background: #fff; }
.app-link { justify-self: end; background: linear-gradient(135deg,#F07A96 0%,#E85A7A 55%,#C94A68 100%); color: #fff; }
.tab-strip { height: 40px; background: var(--deep); border-bottom: 1px solid var(--border); }
.tab-inner { height: 40px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.tab-item { padding: 5px 10px; border-radius: 8px; color: var(--muted); line-height: 1.25; }
.tab-item:hover { background: rgba(255,255,255,.7); color: var(--title); }
.tab-item.is-active { background: var(--pink); color: #fff; }
.site-main { padding-top: 146px; min-height: 70vh; }
.page-hero, .section, .content-section { margin: 0 auto 34px; }
.page-hero { padding: 24px 0 8px; }
.page-hero .eyebrow, .eyebrow { margin: 0 0 8px; color: var(--pink); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 14px; }
h2 { font-size: clamp(22px, 3vw, 26px); margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 850px; color: var(--muted); font-size: 17px; }
.hero-card, .soft-panel, .article-card, .rule-card, .faq-item, .feature-card, .timeline-card, .number-card, .status-card, .image-slot, .rack-row, .tag-card, .index-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
.hero-card { padding: 18px; }
.hero-media, .image-slot { display: flex; align-items: center; justify-content: center; min-height: 190px; background: linear-gradient(135deg, #FFF0F4 0%, #FFF8FA 55%, #F8E8EE 100%); overflow: hidden; }
.hero-media { border-radius: 14px; max-height: 300px; }
.hero-media img { width: 100%; height: auto; max-height: 300px; object-fit: contain; object-position: center; }
.hero-placeholder { width: 100%; min-height: 220px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--title); }
.hero-placeholder strong { font-size: 28px; }
.hero-copy { padding: 20px 6px 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { background: linear-gradient(135deg,#F07A96 0%,#E85A7A 55%,#C94A68 100%); color: #fff; border: 1px solid transparent; }
.ghost-btn { background: #fff; color: var(--pink); border: 1px solid rgba(232,90,122,.34); }
.btn:hover, .app-link:hover { filter: brightness(.98); transform: translateY(-1px); }
.ghost-btn:hover { background: var(--deep); }
.grid-2, .grid-3, .grid-4, .grid-6 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.feature-card, .article-card, .rule-card, .number-card, .status-card, .tag-card, .index-card { padding: 18px; }
.feature-card .swatch { width: 42px; height: 7px; border-radius: 4px; margin-bottom: 16px; }
.swatch.rose { background: var(--pink); }
.swatch.apricot { background: var(--apricot); }
.swatch.mist { background: var(--mist); }
.inline-link { color: var(--pink); font-weight: 800; }
.media-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.media-card .image-slot { border: 0; border-radius: 0; box-shadow: none; height: 200px; min-height: 180px; }
.media-card .image-slot img, .image-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-copy { padding: 16px; }
.number-list { display: grid; gap: 12px; }
.number-row { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 14px; }
.number-row:last-child { border-bottom: 0; }
.big-num { color: var(--pink); font-size: 28px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.tag-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.tag-card:nth-child(3n+1) { background: #FFF4F7; }
.tag-card:nth-child(3n+2) { background: #FFF7F1; }
.tag-card:nth-child(3n+3) { background: #F7F2FA; }
.rack-list { display: grid; gap: 10px; }
.rack-row { padding: 16px; display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; }
.rack-label { color: var(--pink); font-weight: 900; }
.rack-row .inline-link { white-space: nowrap; }
.status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.status-card { position: relative; overflow: hidden; }
.status-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--pink-soft); }
.status-card strong { display: block; color: var(--title); margin-bottom: 8px; }
.article-stack { display: grid; gap: 16px; }
.article-card p:last-child, .rule-card p:last-child, .faq-item p:last-child { margin-bottom: 0; }
.article-card ul, .rule-card ul { margin: 8px 0 0; padding-left: 20px; }
.article-card li, .rule-card li { margin-bottom: 6px; }
.quote-card { border-left: 4px solid var(--pink); background: #fff; border-radius: 0 14px 14px 0; padding: 20px; box-shadow: var(--shadow); }
.quote-card .label { color: var(--pink); font-weight: 900; }
.app-showcase { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 28px; align-items: center; }
.app-visual { min-height: 320px; background: var(--deep); border: 1px solid var(--border); border-radius: 16px; display: grid; place-items: center; padding: 18px; }
.app-visual img.app-image { max-height: 420px; width: 100%; object-fit: contain; object-position: center; }
.app-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; margin-bottom: 14px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 18px; }
.faq-item h2, .faq-item h3 { font-size: 18px; }
.pink-drawer { position: fixed; z-index: 1000; top: 0; right: 0; width: min(380px, 86vw); height: 100dvh; background: #FFF8FA; border-left: 1px solid var(--border); box-shadow: -18px 0 50px rgba(42,24,32,.16); transform: translateX(102%); visibility: hidden; pointer-events: none; transition: transform .26s ease, visibility .26s ease; }
.pink-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--title); font-weight: 900; }
.drawer-logo { max-width: 120px; height: 30px; }
.icon-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--title); font-size: 26px; line-height: 1; }
.drawer-scroll { height: calc(100dvh - 72px); overflow-y: auto; padding: 14px; }
.drawer-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.drawer-card h2 { font-size: 15px; color: var(--pink); margin: 2px 8px 8px; }
.drawer-card a { display: grid; gap: 2px; padding: 10px 8px; border-radius: 10px; }
.drawer-card a:hover { background: var(--deep); }
.drawer-card strong { color: var(--title); }
.drawer-card span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.search-layer { position: fixed; z-index: 990; top: 80px; left: 50%; width: min(760px, calc(100% - 32px)); transform: translate(-50%, -16px); opacity: 0; visibility: hidden; pointer-events: none; transition: .22s ease; }
.search-layer.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 60px rgba(42,24,32,.18); padding: 18px; }
.search-head { display: flex; justify-content: space-between; gap: 18px; }
.search-head h2 { margin-bottom: 0; }
.search-look { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; margin: 16px 0; }
.search-look span { color: var(--muted); font-weight: 700; }
.search-look input { width: 100%; min-height: 46px; border: 1px solid rgba(232,90,122,.28); border-radius: 10px; padding: 10px 12px; color: var(--title); background: #FFFDFE; }
.search-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.search-presets a { min-height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 10px; color: var(--pink); font-weight: 800; background: var(--bg); }
.search-presets a:hover { background: var(--deep); }
.search-tip { color: var(--soft); font-size: 13px; margin: 12px 0 0; }
.site-overlay { position: fixed; inset: 0; z-index: 950; background: rgba(42,24,32,.28); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-footer { background: #2A1820; color: #F8E8EE; padding: 46px 0 78px; margin-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4,1fr); gap: 24px; }
.footer-grid a { display: block; color: #F8E8EE; opacity: .86; margin: 7px 0; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-title { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer-logo { height: 34px; max-width: 140px; filter: brightness(0) invert(1); }
.footer-brand-text { font-size: 24px; color: #fff; }
.footer-kicker { color: #fff; font-weight: 900; margin-top: 8px; }
.footer-brand p { max-width: 320px; opacity: .82; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #F8E8EE; opacity: .8; font-size: 13px; }
.mobile-bottom { display: none; }
.prose-note { background: var(--deep); border-left: 4px solid var(--pink); padding: 14px 16px; border-radius: 0 12px 12px 0; color: var(--muted); }
.mini-kicker { font-size: 13px; color: var(--pink); font-weight: 900; letter-spacing: .08em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0; }

@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .grid-3, .grid-6 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .app-showcase { grid-template-columns: 1fr; }
    .app-visual { min-height: 260px; }
}
@media (max-width: 680px) {
    :root { --header-h: 80px; }
    .shell { width: min(100% - 32px, 1200px); }
    .tab-strip { display: none; }
    .site-main { padding-top: 104px; }
    .platform-inner { gap: 8px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
    .brand-logo { max-width: 112px; height: 30px; }
    .drawer-trigger, .app-link { padding: 8px 12px; min-height: 44px; }
    .app-link { font-size: 14px; }
    .grid-2, .grid-3, .grid-4, .grid-6, .tag-grid, .status-grid { grid-template-columns: 1fr; }
    .rack-row { grid-template-columns: 1fr; gap: 6px; }
    .search-layer { top: 84px; width: calc(100% - 24px); }
    .search-card { background: var(--deep); padding: 14px; }
    .search-presets { grid-template-columns: repeat(2,1fr); }
    .search-look { grid-template-columns: 1fr; gap: 6px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-note { flex-direction: column; }
    .site-footer { padding-bottom: 96px; }
    .mobile-bottom { position: fixed; z-index: 700; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5,1fr); min-height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,248,250,.98); border-top: 1px solid var(--border); box-shadow: 0 -8px 22px rgba(42,24,32,.08); }
    .mobile-bottom a { min-height: 50px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
    .mobile-bottom a.is-active { background: var(--pink); color: #fff; }
    .site-overlay { z-index: 950; }
    .section-head { align-items: start; flex-direction: column; }
    .number-row { grid-template-columns: 44px 1fr; padding-inline: 10px; }
    .hero-card { padding: 12px; }
    .hero-copy { padding: 18px 4px 4px; }
}
