:root {
    --bg: #FFF7FB;
    --surface: #FFFFFF;
    --surface-pink: #FFF0F6;
    --surface-purple: #F6F1FF;
    --title: #332631;
    --text: #514451;
    --muted: #807080;
    --pink: #FF629F;
    --pink-dark: #E94D8E;
    --peach: #FF9BBC;
    --purple: #936BFF;
    --border: rgba(255, 98, 159, 0.16);
    --footer: #30232D;
    --footer-text: #FFEAF3;
    --shadow: 0 18px 45px rgba(108, 65, 91, 0.10);
    --shadow-small: 0 10px 28px rgba(108, 65, 91, 0.08);
    --radius: 24px;
    --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
html.drawer-open, body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; pointer-events: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--title);
    color: #fff;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    background: rgba(255, 247, 251, 0.90);
    border-bottom: 1px solid rgba(255, 98, 159, 0.10);
    box-shadow: 0 8px 26px rgba(77, 42, 62, 0.06);
    backdrop-filter: blur(16px);
}
.header-inner {
    max-width: 1260px;
    min-height: 74px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}
.brand-mark, .footer-brand, .drawer-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 800;
    color: var(--title);
    white-space: nowrap;
}
.brand-logo { max-width: 152px; max-height: 46px; object-fit: contain; }
.brand-text { font-size: 1.32rem; letter-spacing: .02em; }
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}
.desktop-nav a {
    min-height: 44px;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #655565;
    font-size: .95rem;
    font-weight: 650;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a.is-current {
    background: var(--surface-pink);
    color: var(--pink-dark);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta, .primary-button, .secondary-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 20px;
    white-space: nowrap;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.header-cta, .primary-button {
    background: linear-gradient(135deg, #FF9BBC 0%, #FF629F 50%, #936BFF 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 98, 159, .24);
}
.secondary-button {
    background: #fff;
    color: var(--pink-dark);
    border: 1px solid var(--border);
}
.header-cta:hover, .primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.header-cta:active, .primary-button:active, .secondary-button:active { transform: translateY(0); }
.menu-button, .drawer-close {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: var(--title);
    box-shadow: var(--shadow-small);
}
.menu-button { display: inline-grid; place-content: center; gap: 4px; }
.menu-button span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.mobile-menu-button { display: none; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(49, 31, 44, .42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(410px, 88vw);
    height: 100dvh;
    padding: 18px;
    background: #fff;
    box-shadow: -26px 0 60px rgba(49, 31, 44, .18);
    transform: translateX(104%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
}
.site-drawer.is-open { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 4px 2px 16px; }
.drawer-close { font-size: 1.65rem; line-height: 1; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-nav a {
    min-height: 46px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    background: var(--surface-pink);
    border: 1px solid transparent;
    font-weight: 650;
}
.drawer-nav a:hover, .drawer-nav a:focus-visible, .drawer-nav a.is-current { color: var(--pink-dark); border-color: var(--border); background: #fff; }
.drawer-note { margin-top: 18px; padding: 18px; border-radius: 18px; background: var(--surface-purple); }
.drawer-note p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

main { display: block; }
.page-shell, .section-inner, .hero-inner, .footer-inner, .footer-bottom {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}
.home-section, .inner-section { padding: 76px 0; }
.home-section.compact, .inner-section.compact { padding: 52px 0; }
.soft-pink { background: var(--surface-pink); }
.soft-purple { background: var(--surface-purple); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 98, 159, .10);
    color: var(--pink-dark);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .04em;
}
h1, h2, h3 { margin: 0 0 .65em; color: var(--title); line-height: 1.25; }
h1 { font-size: clamp(2.35rem, 5.2vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.24rem); color: #665766; }
.muted { color: var(--muted); }
.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink-dark);
    font-weight: 750;
}
.text-link::after { content: '→'; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.hero {
    position: relative;
    isolation: isolate;
    padding: 86px 0 72px;
    overflow: hidden;
}
.hero::before, .hero::after, .inner-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}
.hero::before { width: 480px; height: 480px; right: -120px; top: -120px; background: rgba(255, 155, 188, .23); }
.hero::after { width: 360px; height: 360px; left: -170px; bottom: -170px; background: rgba(147, 107, 255, .14); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr); gap: 58px; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-copy .lead { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 24px; }
.hero-traits { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-traits span { padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-small); font-size: .92rem; }
.hero-visual, .image-card {
    min-height: 350px;
    display: grid;
    place-items: center;
    padding: 20px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,240,246,.80));
    border: 1px solid rgba(255, 98, 159, .18);
    box-shadow: var(--shadow);
}
.hero-visual img, .image-card img { max-height: 520px; object-fit: contain; }
.visual-placeholder { width: 100%; height: 100%; min-height: 310px; display: grid; place-items: center; text-align: center; border-radius: 26px; background: radial-gradient(circle at 30% 25%, #fff 0 18%, transparent 19%), linear-gradient(145deg, #FFE4EF, #F1E9FF); }
.visual-placeholder span { display: block; width: 155px; height: 155px; border-radius: 38px; transform: rotate(-8deg); background: linear-gradient(135deg, #FF9BBC, #FF629F 55%, #936BFF); box-shadow: 0 24px 48px rgba(147,107,255,.22); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card, .feature-card, .channel-card, .topic-card, .feedback-card, .faq-card, .info-panel, .step-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-small);
}
.card::before, .feature-card::before, .channel-card::before, .topic-card::before {
    content: '';
    display: block;
    width: 42px;
    height: 6px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--peach), var(--pink), var(--purple));
    pointer-events: none;
}
.feature-card p, .channel-card p, .topic-card p, .feedback-card p, .faq-card p, .step-card p { color: #6b5c6a; }
.icon-badge { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 16px; background: var(--surface-purple); color: var(--purple); font-weight: 900; }
.masonry-lite { display: grid; grid-template-columns: 1.15fr .85fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 18px; }
.masonry-lite article:nth-child(1), .masonry-lite article:nth-child(5) { grid-row: span 2; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag-list span { padding: 5px 10px; border-radius: 999px; background: var(--surface-purple); color: #6f55b8; font-size: .84rem; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: 36px; align-items: center; }
.split-layout.reverse > :first-child { order: 2; }
.split-layout.reverse > :last-child { order: 1; }
.stat-strip, .notice-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--border); }
.stat-strip div, .notice-strip div { padding: 20px; background: #fff; }
.stat-strip strong, .notice-strip strong { display: block; color: var(--title); margin-bottom: 6px; }
.security-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.security-panel { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-small); }
.security-panel ul, .content-list, .check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.security-panel li, .content-list li, .check-list li { position: relative; padding: 8px 0 8px 27px; }
.security-panel li::before, .content-list li::before, .check-list li::before { content: '✓'; position: absolute; left: 0; top: 8px; color: var(--pink-dark); font-weight: 900; }
.feedback-card { display: flex; flex-direction: column; justify-content: space-between; }
.feedback-card .identity { margin-top: 14px; color: var(--pink-dark); font-weight: 750; font-size: .9rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(108,65,91,.05);
}
summary { min-height: 58px; padding: 16px 48px 16px 18px; display: flex; align-items: center; position: relative; cursor: pointer; color: var(--title); font-weight: 760; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 18px; font-size: 1.35rem; color: var(--pink-dark); }
details[open] summary::after { content: '−'; }
details .answer { padding: 0 18px 18px; color: #685968; }
.cta-panel { padding: clamp(28px, 5vw, 56px); border-radius: 34px; background: linear-gradient(135deg, #FFF0F6, #F6F1FF); border: 1px solid var(--border); box-shadow: var(--shadow); }
.cta-panel .hero-actions { margin-bottom: 0; }

.inner-hero { position: relative; overflow: hidden; padding: 78px 0 58px; }
.inner-hero::before { width: 420px; height: 420px; right: -120px; top: -180px; background: rgba(255,98,159,.15); }
.inner-hero .page-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 42px; align-items: center; }
.inner-hero h1 { font-size: clamp(2.15rem, 4.5vw, 4.25rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--pink-dark); }
.hero-mini-card { padding: 24px; border-radius: 28px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-mini-card strong { display: block; color: var(--title); font-size: 1.2rem; margin-bottom: 8px; }
.section-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #FF9BBC, #936BFF); color: #fff; font-weight: 850; margin-bottom: 16px; }
.steps { counter-reset: tx-step; display: grid; gap: 14px; }
.step-row { counter-increment: tx-step; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.step-row::before { content: counter(tx-step); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-purple); color: var(--purple); font-weight: 850; }
.step-row h3 { margin: 0 0 4px; }
.step-row p { margin: 0; color: #6a5b68; }
.timeline { position: relative; margin-left: 18px; padding-left: 30px; border-left: 2px solid rgba(255,98,159,.20); }
.timeline article { position: relative; padding: 4px 0 26px; }
.timeline article::before { content: ''; position: absolute; left: -38px; top: 10px; width: 14px; height: 14px; border: 4px solid #fff; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 1px var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-grid article { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.pill-index { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-index a { min-height: 44px; padding: 9px 14px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--pink-dark); font-weight: 700; }
.callout { padding: 24px; border-left: 5px solid var(--pink); border-radius: 0 20px 20px 0; background: #fff; box-shadow: var(--shadow-small); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { min-height: 44px; padding: 9px 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface-pink); color: var(--pink-dark); font-weight: 700; }

.site-footer { background: var(--footer); color: var(--footer-text); padding: 64px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.65fr); gap: 54px; }
.footer-brand-column p { max-width: 430px; color: rgba(255,234,243,.74); }
.footer-brand { color: #fff; margin-bottom: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.footer-links h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links a { min-height: 38px; display: flex; align-items: center; color: rgba(255,234,243,.76); font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,234,243,.62); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.mobile-bottom-nav { display: none; }

:focus-visible { outline: 3px solid rgba(147,107,255,.42); outline-offset: 3px; }

@media (max-width: 1040px) {
    .header-inner { gap: 16px; padding-inline: 16px; }
    .desktop-nav { gap: 2px; }
    .desktop-nav a { padding-inline: 9px; font-size: .9rem; }
    .hero-inner, .inner-hero .page-shell, .split-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .desktop-nav, .desktop-menu-button { display: none; }
    .mobile-menu-button { display: inline-grid; }
    .header-inner { min-height: 66px; grid-template-columns: 52px minmax(0, 1fr) auto; }
    .brand-mark { justify-self: center; min-width: 0; }
    .brand-logo { max-width: 132px; max-height: 40px; }
    .brand-text { font-size: 1.12rem; }
    .header-actions { justify-self: end; }
    .header-cta { min-height: 42px; padding: 8px 14px; font-size: .9rem; }
    .hero { padding: 62px 0 54px; }
    .hero-inner, .inner-hero .page-shell, .split-layout { grid-template-columns: 1fr; }
    .hero-copy { max-width: none; }
    .hero-visual { min-height: 300px; max-width: 560px; }
    .inner-hero { padding: 58px 0 42px; }
    .inner-hero .hero-mini-card { max-width: 620px; }
    .split-layout.reverse > :first-child, .split-layout.reverse > :last-child { order: initial; }
    .grid-3, .masonry-lite { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .masonry-lite article:nth-child(1), .masonry-lite article:nth-child(5) { grid-row: auto; }
    .security-pair, .faq-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { flex-direction: column; }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 850;
        min-height: 68px;
        padding: 6px max(10px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        background: rgba(255,255,255,.94);
        border-top: 1px solid var(--border);
        box-shadow: 0 -10px 30px rgba(82,49,68,.10);
        backdrop-filter: blur(16px);
    }
    .mobile-bottom-nav a { min-height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; color: var(--muted); font-size: .78rem; font-weight: 700; }
    .mobile-bottom-nav a span { font-size: 1.12rem; line-height: 1; }
    .mobile-bottom-nav a.is-current { background: var(--surface-pink); color: var(--pink-dark); }
}

@media (max-width: 600px) {
    .page-shell, .section-inner, .hero-inner, .footer-inner, .footer-bottom { width: min(calc(100% - 28px), var(--max)); }
    .home-section, .inner-section { padding: 58px 0; }
    .home-section.compact, .inner-section.compact { padding: 42px 0; }
    .hero { padding-top: 46px; }
    h1 { font-size: clamp(2.2rem, 13vw, 3.5rem); }
    h2 { font-size: clamp(1.55rem, 8vw, 2.2rem); }
    .lead { font-size: 1.02rem; }
    .hero-actions { align-items: stretch; }
    .hero-actions .primary-button, .hero-actions .secondary-button { width: 100%; }
    .hero-visual, .image-card { min-height: 250px; padding: 14px; border-radius: 26px; }
    .visual-placeholder { min-height: 240px; }
    .visual-placeholder span { width: 120px; height: 120px; }
    .grid-2, .grid-3, .grid-4, .masonry-lite, .stat-strip, .notice-strip, .process-grid { grid-template-columns: 1fr; }
    .card, .feature-card, .channel-card, .topic-card, .feedback-card, .faq-card, .info-panel, .step-card { padding: 21px; }
    .security-panel { padding: 24px 20px; }
    .drawer-nav { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
    .step-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
