:root {
    --page: #FFF9FC;
    --surface: #FFFFFF;
    --pink-soft: #FFF1F6;
    --purple-soft: #F6F3FF;
    --gray-soft: #F8F6F7;
    --title: #31262C;
    --text: #51454C;
    --muted: #7C6E75;
    --quiet: #A2949B;
    --pink: #FF5C98;
    --berry: #D9467B;
    --peach: #FF96AD;
    --purple: #8B74E8;
    --purple-deep: #6250B0;
    --border: rgba(255, 92, 152, 0.15);
    --shadow: 0 14px 38px rgba(70, 44, 58, 0.08);
    --shadow-strong: 0 20px 48px rgba(217, 70, 123, 0.14);
    --gradient: linear-gradient(135deg, #FF96AD 0%, #FF5C98 50%, #8B74E8 100%);
    --footer: #30252B;
    --footer-text: #FFEAF2;
    --max: 1220px;
    --header-h: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--page);
    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;
    text-rendering: optimizeLegibility;
}

html.drawer-open,
html.drawer-open body {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(139, 116, 232, 0.55);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 10px;
    z-index: 999;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--title);
    color: #fff;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid rgba(217, 70, 123, 0.09);
    background: rgba(255, 249, 252, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    width: min(calc(100% - 40px), var(--max));
    height: 100%;
    margin: 0 auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.desktop-nav-left {
    justify-content: flex-end;
}

.desktop-nav-right {
    justify-content: flex-start;
    padding-right: 58px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--pink-soft);
    color: var(--berry);
}

.nav-link:active {
    transform: translateY(1px);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 174px;
    min-height: 54px;
    padding: 0 12px;
}

.brand-logo {
    max-height: 48px;
    object-fit: contain;
}

.brand-text,
.footer-brand-name,
.drawer-brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.menu-toggle {
    position: absolute;
    right: 0;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(70, 44, 58, .08);
    cursor: pointer;
}

.menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 99px;
    background: var(--title);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-actions {
    display: none;
}

.site-main {
    padding-top: var(--header-h);
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 88px 0;
}

.section-tight {
    padding: 62px 0;
}

.section-soft {
    background: var(--pink-soft);
}

.section-purple {
    background: var(--purple-soft);
}

.section-white {
    background: var(--surface);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-heading > div:first-child {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--berry);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--title);
    line-height: 1.25;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(36px, 6vw, 72px);
    letter-spacing: -.045em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.035em;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

p {
    margin-top: 0;
}

.lead {
    max-width: 840px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--berry);
    font-weight: 800;
}

.text-link::after {
    content: "→";
    margin-left: 8px;
    transition: transform .2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    border-color: var(--border);
    background: var(--surface);
    color: var(--berry);
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 68px;
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.hero::before {
    width: 380px;
    height: 380px;
    left: -160px;
    top: 40px;
    background: radial-gradient(circle, rgba(255, 150, 173, .24), rgba(255, 150, 173, 0));
}

.hero::after {
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: 0;
    background: radial-gradient(circle, rgba(139, 116, 232, .21), rgba(139, 116, 232, 0));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(420px, 1.8fr) 1fr;
    align-items: center;
    gap: 38px;
}

.hero-center {
    text-align: center;
}

.hero-center .lead {
    margin-inline: auto;
}

.hero-center .button-row {
    justify-content: center;
}

.hero-note {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow);
}

.hero-note:nth-child(3) {
    transform: translateY(36px);
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--berry);
    font-weight: 900;
}

.hero-brand::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gradient);
    content: "";
}

.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    min-height: 350px;
    margin-top: 58px;
    padding: 26px;
    border: 1px solid rgba(255, 92, 152, .16);
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.95), rgba(255,255,255,.4) 30%, transparent 31%),
        linear-gradient(135deg, #FFE4EE 0%, #FFF7FB 52%, #EAE6FF 100%);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.visual-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 298px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 16px 38px rgba(70,44,58,.08);
}

.visual-card:first-child::before {
    content: "生活影像";
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
}

.visual-stack {
    display: grid;
    gap: 18px;
}

.visual-mini {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.86);
}

.index-grid,
.card-grid,
.topic-grid,
.feedback-grid,
.faq-grid,
.link-grid {
    display: grid;
    gap: 20px;
}

.index-grid {
    grid-template-columns: repeat(6, 1fr);
}

.index-card,
.content-card,
.topic-card,
.feedback-card,
.info-card,
.step-card,
.faq-card,
.link-card,
.notice-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.index-card {
    min-height: 215px;
    padding: 24px;
}

.index-card::before {
    display: block;
    width: 38px;
    height: 8px;
    margin-bottom: 24px;
    border-radius: 99px;
    background: var(--gradient);
    content: "";
}

.index-card p,
.content-card p,
.topic-card p,
.feedback-card p,
.info-card p,
.step-card p,
.link-card p {
    color: var(--muted);
}

.story-feature {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 24px;
}

.feature-story {
    min-height: 470px;
    padding: 42px;
    border-radius: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #fff4f8 100%);
    box-shadow: var(--shadow-strong);
}

.story-list {
    display: grid;
    gap: 16px;
}

.story-item {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.content-card,
.topic-card,
.feedback-card,
.info-card,
.step-card,
.link-card,
.notice-card {
    padding: 28px;
}

.content-card {
    min-height: 280px;
}

.card-visual {
    position: relative;
    height: 150px;
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE2EC, #F0EBFF);
}

.card-visual::before,
.card-visual::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.card-visual::before {
    width: 120px;
    height: 120px;
    left: 18px;
    top: 24px;
    background: rgba(255,255,255,.72);
}

.card-visual::after {
    width: 80px;
    height: 80px;
    right: 22px;
    bottom: 18px;
    background: rgba(139,116,232,.18);
}

.interest-layout,
.app-layout,
.safety-layout,
.about-layout,
.inner-intro-grid,
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.interest-list,
.service-list,
.check-list,
.simple-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.interest-list {
    grid-template-columns: repeat(2, 1fr);
}

.interest-list li,
.service-list li,
.check-list li,
.simple-list li {
    position: relative;
    padding: 18px 18px 18px 48px;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.interest-list li::before,
.service-list li::before,
.check-list li::before,
.simple-list li::before {
    position: absolute;
    left: 18px;
    top: 22px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient);
    content: "";
}

.topic-grid {
    grid-template-columns: repeat(5, 1fr);
}

.topic-card {
    min-height: 300px;
}

.topic-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple-deep);
    font-weight: 900;
}

.journal-paper {
    position: relative;
    min-height: 420px;
    padding: 44px 44px 44px 82px;
    border-radius: 28px;
    background:
        linear-gradient(90deg, transparent 58px, rgba(255,92,152,.22) 59px, transparent 60px),
        repeating-linear-gradient(0deg, #fff 0, #fff 35px, #f5edf1 36px);
    box-shadow: var(--shadow-strong);
}

.journal-paper::before {
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 12px;
    background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(139,116,232,.25) 23px 25px);
    content: "";
}

.app-shell {
    position: relative;
    min-height: 520px;
    padding: 40px;
    border-radius: 38px;
    background: linear-gradient(155deg, #2f2530 0%, #4b3850 55%, #6b55a6 100%);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.app-phone {
    position: absolute;
    width: 250px;
    height: 455px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-4deg);
    border: 9px solid rgba(255,255,255,.9);
    border-radius: 40px;
    background: linear-gradient(180deg, #fff8fb, #f2ecff);
    box-shadow: 0 30px 60px rgba(0,0,0,.26);
}

.app-phone::before {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 76px;
    height: 20px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #342a35;
    content: "";
}

.app-phone::after {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 72px;
    bottom: 28px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255,92,152,.18), rgba(139,116,232,.18)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.95) 0 56px, rgba(255,255,255,.55) 57px 72px);
    content: "";
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.principle-card {
    min-height: 255px;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
}

.principle-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--title);
    font-size: 19px;
}

.safety-panel {
    min-height: 430px;
    padding: 38px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.safety-panel:first-child {
    background: linear-gradient(145deg, #fff 0%, #fff1f6 100%);
}

.safety-panel:last-child {
    background: linear-gradient(145deg, #fff 0%, #f3efff 100%);
}

.feedback-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feedback-card {
    min-height: 190px;
}

.feedback-card::before {
    display: block;
    color: var(--peach);
    font-size: 38px;
    line-height: 1;
    content: "“";
}

.faq-list {
    display: grid;
    gap: 14px;
}

details.faq-item {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(70,44,58,.05);
    overflow: hidden;
}

details.faq-item summary {
    position: relative;
    min-height: 64px;
    padding: 18px 58px 18px 22px;
    color: var(--title);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--berry);
    font-size: 24px;
    content: "+";
}

details.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 22px 22px;
    color: var(--muted);
}

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 64px;
    background: linear-gradient(180deg, #FFF9FC 0%, #FFF1F6 100%);
}

.inner-hero::after {
    position: absolute;
    width: 380px;
    height: 380px;
    right: -140px;
    top: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,116,232,.2), rgba(139,116,232,0));
    content: "";
    pointer-events: none;
}

.inner-hero h1 {
    max-width: 900px;
    font-size: clamp(38px, 5vw, 62px);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--berry);
}

.inner-hero-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(255,255,255,.82);
    box-shadow: var(--shadow);
}

.content-prose {
    max-width: 850px;
}

.content-prose p {
    color: var(--muted);
}

.content-prose h2,
.content-prose h3 {
    margin-top: 34px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    min-height: 250px;
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 900;
}

.notice-strip {
    padding: 28px 32px;
    border: 1px solid rgba(139,116,232,.18);
    border-radius: 24px;
    background: var(--purple-soft);
}

.notice-strip strong {
    color: var(--purple-deep);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--berry);
    font-weight: 800;
}

.site-footer {
    padding: 68px 0 26px;
    background: var(--footer);
    color: var(--footer-text);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 32px;
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.footer-brand p {
    max-width: 340px;
    margin-top: 18px;
    color: rgba(255,234,242,.72);
}

.footer-logo {
    max-height: 50px;
    object-fit: contain;
}

.footer-group h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 16px;
}

.footer-group a {
    display: block;
    min-height: 38px;
    color: rgba(255,234,242,.76);
    font-size: 14px;
}

.footer-group a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: min(calc(100% - 40px), var(--max));
    margin: 44px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,234,242,.12);
    color: rgba(255,234,242,.6);
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.panel-overlay {
    position: fixed;
    inset: 0;
    z-index: 105;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(49,38,44,.34);
    transition: opacity .22s ease, visibility .22s ease;
}

.panel-overlay.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.channel-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 110;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    border-top: 1px solid var(--border);
    background: var(--page);
    box-shadow: 0 30px 70px rgba(49,38,44,.16);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.channel-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.channel-panel-inner {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    padding: 34px 0 40px;
}

.channel-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.channel-panel-head h2 {
    margin-bottom: 0;
    font-size: 30px;
}

.panel-close,
.drawer-close {
    min-width: 64px;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--berry);
    font-weight: 800;
    cursor: pointer;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.channel-column {
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.channel-column h3 {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.channel-column a {
    display: block;
    min-height: 62px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,92,152,.08);
}

.channel-column a:last-child {
    border-bottom: 0;
}

.channel-column strong,
.channel-column span {
    display: block;
}

.channel-column strong {
    color: var(--title);
}

.channel-column span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 115;
    width: min(88vw, 390px);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(102%);
    background: var(--page);
    box-shadow: -24px 0 60px rgba(49,38,44,.18);
    transition: transform .24s ease, visibility .24s ease;
}

.mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,249,252,.96);
}

.drawer-brand {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.drawer-brand img {
    max-height: 44px;
    object-fit: contain;
}

.drawer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 18px 110px;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    color: var(--title);
    font-weight: 700;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1180px) {
    .nav-link {
        padding-inline: 9px;
        font-size: 14px;
    }

    .index-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .topic-grid,
    .principle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1.4fr repeat(2, 1fr);
    }
}

@media (max-width: 899px) {
    :root {
        --header-h: 68px;
    }

    .header-inner {
        grid-template-columns: 1fr auto auto;
        gap: 10px;
        width: min(calc(100% - 28px), var(--max));
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        position: relative;
        right: auto;
    }

    .brand-link {
        justify-content: flex-start;
        min-width: 0;
        padding: 0;
    }

    .brand-text {
        font-size: 23px;
    }

    .mobile-actions {
        display: block;
    }

    .mobile-experience {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 999px;
        background: var(--pink-soft);
        color: var(--berry);
        font-size: 14px;
        font-weight: 800;
    }

    .channel-panel {
        display: none;
    }

    .hero {
        padding-top: 52px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-center {
        order: -1;
    }

    .hero-note:nth-child(3) {
        transform: none;
    }

    .hero-note {
        padding: 22px;
    }

    .hero-visual {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-top: 34px;
        padding: 18px;
    }

    .visual-card,
    .visual-mini {
        min-height: 190px;
    }

    .visual-stack {
        grid-template-columns: 1fr 1fr;
    }

    .story-feature,
    .interest-layout,
    .app-layout,
    .safety-layout,
    .about-layout,
    .inner-intro-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .story-list {
        grid-template-columns: 1fr 1fr;
    }

    .card-grid.three,
    .feedback-grid,
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topic-grid,
    .principle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .container,
    .footer-inner,
    .footer-bottom,
    .channel-panel-inner {
        width: calc(100% - 32px);
    }

    .section {
        padding: 64px 0;
    }

    .section-tight {
        padding: 48px 0;
    }

    h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

    h2 {
        font-size: 30px;
    }

    .hero {
        padding-bottom: 48px;
    }

    .hero-brand {
        font-size: 14px;
    }

    .button-row,
    .button-row .btn {
        width: 100%;
    }

    .index-grid,
    .card-grid.three,
    .card-grid.four,
    .feedback-grid,
    .flow-grid,
    .topic-grid,
    .principle-grid,
    .footer-inner,
    .story-list {
        grid-template-columns: 1fr;
    }

    .index-card,
    .content-card,
    .topic-card,
    .feedback-card,
    .info-card,
    .step-card,
    .link-card,
    .notice-card {
        min-height: 0;
        padding: 24px;
    }

    .feature-story {
        min-height: 0;
        padding: 28px;
    }

    .interest-list {
        grid-template-columns: 1fr;
    }

    .visual-stack {
        grid-template-columns: 1fr;
    }

    .journal-paper {
        min-height: 0;
        padding: 36px 24px 36px 54px;
    }

    .app-shell {
        min-height: 430px;
        padding: 24px;
    }

    .app-phone {
        width: 215px;
        height: 390px;
    }

    .site-footer {
        padding-bottom: 30px;
    }

    .footer-group {
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255,234,242,.08);
    }

    .footer-bottom {
        margin-top: 28px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 95;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 62px;
        padding: 6px;
        border: 1px solid rgba(255,92,152,.17);
        border-radius: 22px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 16px 42px rgba(49,38,44,.16);
        backdrop-filter: blur(16px);
    }

    .mobile-bottom-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        border-radius: 16px;
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
    }

    .mobile-bottom-nav a.is-active {
        background: var(--pink-soft);
        color: var(--berry);
    }

    .inner-hero {
        padding: 56px 0 48px;
    }

    .inner-hero-card {
        padding: 22px;
    }

    .notice-strip {
        padding: 22px;
    }
}

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