:root {
    --bg: #FFF8FA;
    --deep: #FFF0F4;
    --surface: #FFFFFF;
    --secondary: #F8E8EE;
    --ink: #2A1820;
    --text: #3C2830;
    --muted: #6A4E58;
    --soft: #9A7A84;
    --brand: #E85A7A;
    --brand-light: #F07A96;
    --pink: #F6C2D0;
    --apricot: #F3D7C4;
    --mist: #C9B4D4;
    --border: rgba(232,90,122,0.16);
    --shadow: 0 14px 36px rgba(42,24,32,0.08);
    --max: 1200px;
    --top-height: 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", "Microsoft YaHei", sans-serif; line-height: 1.75; overflow-x: hidden; }
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; box-shadow: 0 4px 18px rgba(42,24,32,.04); }
.pinkline { height: 18px; background: var(--brand); color: #fff; font-size: 11px; line-height: 18px; }
.pinkline-inner { display: flex; align-items: center; justify-content: space-between; height: 18px; }
.micro-brand { letter-spacing: .09em; font-weight: 700; }
.text-button { border: 0; background: transparent; color: #fff; min-width: 44px; min-height: 18px; padding: 0 4px; font-size: 11px; }
.platformbar { height: 62px; background: rgba(255,248,250,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.platformbar-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-link { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; }
.brand-logo { width: auto; height: 34px; max-width: 150px; object-fit: contain; object-position: left center; }
.brand-word { color: var(--ink); font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.menu-button, .app-link, .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 700; padding: 0 18px; }
.menu-button { border: 1px solid var(--border); background: var(--surface); color: var(--brand); justify-self: center; }
.app-link { justify-self: end; color: #fff; background: linear-gradient(135deg,#F07A96 0%,#E85A7A 55%,#C94A68 100%); }
.tagbar { height: 40px; background: var(--deep); border-bottom: 1px solid var(--border); }
.tagbar-inner { height: 100%; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.tag-link { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.tag-link:hover, .tag-link:focus-visible { color: var(--brand); background: #fff; outline: none; }
.tag-link.is-active { background: var(--brand); color: #fff; }
.site-main { padding-top: calc(var(--top-height) + 28px); min-height: 70vh; }
.page-shell { padding-bottom: 72px; }
.hero, .section-block, .article-panel, .policy-block, .faq-block { margin-bottom: 28px; }
.hero { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.hero-media, .media-slot { display: grid; place-items: center; background: var(--deep); overflow: hidden; }
.hero-media { min-height: 190px; max-height: 300px; aspect-ratio: 16/6.8; }
.hero-media img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; object-position: center; }
.hero-copy { padding: 26px clamp(18px, 4vw, 42px) 32px; }
.kicker { margin: 0 0 4px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(28px, 4vw, 32px); line-height: 1.25; }
h2 { color: var(--ink); line-height: 1.35; }
h3 { color: var(--ink); }
.lead { max-width: 850px; margin: 0; color: var(--muted); font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { background: linear-gradient(135deg,#F07A96 0%,#E85A7A 55%,#C94A68 100%); color: #fff; border: 1px solid transparent; }
.btn.secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn:hover, .btn:focus-visible, .menu-button:hover, .menu-button:focus-visible, .app-link:hover, .app-link:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232,90,122,.15); outline: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 24px; }
.section-head p { margin: 0; color: var(--muted); max-width: 620px; }
.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)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: 0 7px 24px rgba(42,24,32,.04); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card a.more, .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--brand); font-weight: 800; }
.tint-rose { background: #FFF3F6; }
.tint-apricot { background: #FFF7F0; }
.tint-mist { background: #FAF5FC; }
.media-card { padding: 0; overflow: hidden; }
.media-slot { height: 205px; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-card .card-body { padding: 18px; }
.app-icon { width: 64px; height: 64px; object-fit: contain; object-position: center; flex: 0 0 auto; }
.hero-fallback { min-height: 190px; display: grid; place-items: center; color: var(--ink); font-size: clamp(34px, 8vw, 72px); font-weight: 900; letter-spacing: -.06em; }
.number-list { display: grid; gap: 10px; }
.number-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.number-item:last-child { border-bottom: 0; }
.number { color: var(--brand); font-size: clamp(36px, 7vw, 58px); line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.number-item h3 { margin: 2px 0 5px; }
.number-item p { margin: 0; color: var(--muted); }
.rack-list { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.rack-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.rack-row:last-child { border-bottom: 0; }
.rack-row strong { color: var(--ink); }
.rack-row span { color: var(--muted); }
.status-card { border-top: 4px solid var(--brand); }
.status-card small { color: var(--soft); font-weight: 800; letter-spacing: .08em; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-media { min-height: 260px; max-height: 420px; background: var(--deep); border-radius: 16px; border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; }
.split-media img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; object-position: center; }
.split-copy { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.split-copy p { color: var(--muted); }
.quote { margin: 0; padding: 20px; background: var(--deep); border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; color: var(--text); }
.quote + .quote { margin-top: 12px; }
.quote strong { color: var(--brand); }
.article-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.article-panel h2 { margin-top: 0; }
.article-panel h2:not(:first-child) { margin-top: 30px; }
.article-panel p { margin: 0 0 16px; color: var(--text); }
.article-panel ul { padding-left: 1.2em; }
.article-panel li { margin: 8px 0; color: var(--muted); }
.index-grid { display: grid; gap: 14px; }
.index-entry { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.index-entry:last-child { border-bottom: 0; }
.index-label { color: var(--brand); font-weight: 900; }
.breadcrumb { margin-bottom: 14px; color: var(--soft); font-size: 14px; }
.breadcrumb a { color: var(--brand); }
.note-box { padding: 18px 20px; background: #FFF4F7; border: 1px solid var(--border); border-radius: 14px; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.faq-item h2, .faq-item h3 { margin-top: 0; }
.faq-item p { margin-bottom: 0; color: var(--muted); }
.drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(370px, 86vw); background: var(--deep); transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s; box-shadow: -18px 0 46px rgba(42,24,32,.14); overflow-y: auto; }
.drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 10px 16px; background: rgba(255,240,244,.96); border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.drawer-brand small { color: var(--soft); }
.drawer-logo { height: 30px; max-width: 120px; object-fit: contain; }
.icon-close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--brand); font-size: 24px; line-height: 1; }
.drawer-stack { display: grid; gap: 12px; padding: 14px; }
.drawer-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.drawer-card h2 { margin: 0 0 8px; font-size: 14px; color: var(--brand); letter-spacing: .12em; }
.drawer-card a { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 10px 6px; border-top: 1px dashed var(--border); min-height: 54px; }
.drawer-card a:first-of-type { border-top: 0; }
.drawer-card strong { color: var(--ink); }
.drawer-card span { color: var(--muted); font-size: 13px; }
.search-panel { position: fixed; z-index: 80; top: 80px; left: 0; right: 0; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: .2s ease; }
.search-panel.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(760px, calc(100% - 32px)); margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 0 0 16px 16px; box-shadow: var(--shadow); padding: 18px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-head h2 { margin: 0; font-size: 20px; }
.search-card label { display: block; margin: 10px 0 6px; color: var(--muted); }
.search-card input { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; color: var(--ink); background: var(--bg); outline: none; }
.search-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232,90,122,.12); }
.search-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); color: var(--brand); background: #fff; }
.search-note { margin: 10px 0 0; color: var(--soft); font-size: 13px; }
.page-mask { position: fixed; z-index: 70; inset: 0; background: rgba(42,24,32,.32); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.page-mask.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-footer { background: var(--ink); color: #F8E8EE; padding: 46px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: .9fr 2.1fr; gap: 42px; }
.footer-logo-link { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 32px; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo-link span { display: flex; flex-direction: column; line-height: 1.1; }
.footer-logo-link small { color: #D8BAC4; }
.footer-brand p { color: #E6CFD6; max-width: 390px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.footer-nav h2 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.footer-nav a { display: block; color: #E6CFD6; min-height: 34px; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: #fff; text-decoration: underline; outline: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #CDAFBA; font-size: 13px; }
.mobile-bottom { display: none; }
.small-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.small-card { border-radius: 14px; padding: 18px; border: 1px solid var(--border); }
.small-card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.small-card span { color: var(--muted); }
.timeline { display: grid; gap: 14px; }
.timeline-step { position: relative; padding: 18px 18px 18px 72px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.timeline-step b { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: #fff; }
.timeline-step h3 { margin: 0 0 6px; }
.timeline-step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
    :root { --top-height: 80px; }
    .wrap { width: min(var(--max), calc(100% - 32px)); }
    .tagbar { display: none; }
    .platformbar-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
    .brand-logo { height: 30px; max-width: 112px; }
    .menu-button, .app-link { min-width: 64px; padding: 0 10px; font-size: 14px; }
    .site-main { padding-top: 98px; }
    .grid-4, .grid-3, .grid-6, .small-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .split, .split.reverse, .footer-grid { grid-template-columns: 1fr; }
    .rack-row { grid-template-columns: 92px 1fr; }
    .rack-row a { grid-column: 2; }
    .search-panel { top: 80px; }
    .search-card { background: var(--deep); border-radius: 0 0 14px 14px; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .site-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .mobile-bottom { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.98); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(42,24,32,.08); }
    .mobile-bottom a { min-height: 50px; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
    .mobile-bottom a.is-active { background: var(--brand); color: #fff; }
}
@media (max-width: 560px) {
    .hero-media { aspect-ratio: 16/9; min-height: 160px; }
    .grid-2, .grid-3, .grid-4, .grid-6, .small-cards { grid-template-columns: 1fr; }
    .number-item { grid-template-columns: 60px 1fr; }
    .number { font-size: 42px; }
    .section-head { align-items: start; flex-direction: column; }
    .media-slot { height: 190px; }
    .rack-row { grid-template-columns: 1fr; gap: 6px; }
    .rack-row a { grid-column: auto; }
    .index-entry { grid-template-columns: 1fr; gap: 4px; }
    .platformbar-inner { gap: 6px; }
    .app-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
