:root {
    --bg: #FFF9FC;
    --surface: #FFFFFF;
    --pink-soft: #FFF1F6;
    --purple-soft: #F6F3FF;
    --gray-soft: #F8F6F7;
    --title: #31262C;
    --text: #51454C;
    --muted: #7C6E75;
    --hint: #A2949B;
    --brand: #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%);
    --header-height: 78px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 150, 173, 0.12), transparent 24rem),
        radial-gradient(circle at 90% 13%, rgba(139, 116, 232, 0.10), transparent 26rem),
        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.78;
    text-rendering: optimizeLegibility;
}

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

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

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

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

button, input, textarea, select {
    font: inherit;
}

button {
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(98, 80, 176, 0.55);
    outline-offset: 3px;
}

::selection {
    background: rgba(255, 92, 152, 0.22);
    color: var(--title);
}

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

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 92, 152, 0.10);
    background: rgba(255, 249, 252, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: clamp(10px, 1.5vw, 24px);
    white-space: nowrap;
}

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

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

.nav-link {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    transition: color .2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 10%;
    bottom: 4px;
    left: 10%;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform .2s ease;
    pointer-events: none;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--title);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.site-brand {
    position: relative;
    z-index: 2;
    min-width: 156px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.site-brand.is-active {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px rgba(217, 70, 123, 0.08);
}

.brand-logo {
    width: auto;
    max-width: 178px;
    max-height: 52px;
    object-fit: contain;
}

.brand-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .03em;
    line-height: 1;
}

.mobile-actions {
    display: none;
}

.menu-trigger {
    position: absolute;
    right: 0;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px rgba(70, 44, 58, 0.07);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.menu-trigger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-trigger span {
    position: absolute;
    left: 13px;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--title);
    pointer-events: none;
}

.menu-trigger span:first-child {
    top: 17px;
}

.menu-trigger span:last-child {
    top: 25px;
}

main {
    min-height: 70vh;
    padding-top: var(--header-height);
}

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

.section {
    padding: clamp(64px, 8vw, 112px) 0;
}

.section-tight {
    padding: clamp(42px, 6vw, 76px) 0;
}

.section-soft {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 241, 246, 0.82), rgba(255, 255, 255, 0.65));
}

.section-purple {
    background: linear-gradient(180deg, rgba(246, 243, 255, 0.9), rgba(255, 255, 255, 0.75));
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.page-hero h1,
.hero-center h1 {
    margin: 14px 0 16px;
    color: var(--title);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 50px);
}

.section-heading p,
.page-hero p,
.hero-center p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.6vw, 18px);
}

.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;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    position: relative;
    z-index: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 28px rgba(217, 70, 123, 0.22);
}

.btn-secondary {
    border-color: var(--border);
    background: #fff;
    color: var(--title);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.card,
.story-card,
.topic-card,
.info-card,
.feedback-card,
.guide-step,
.notice-card,
.support-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.card {
    padding: 26px;
}

.card h3,
.story-card h3,
.topic-card h3,
.info-card h3,
.guide-step h3,
.notice-card h3,
.support-card h3 {
    margin: 0 0 10px;
    color: var(--title);
    font-size: 21px;
    line-height: 1.35;
}

.card p,
.story-card p,
.topic-card p,
.info-card p,
.guide-step p,
.notice-card p,
.support-card p {
    margin: 0;
    color: var(--muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

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

.media-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
    background: var(--pink-soft);
    box-shadow: var(--shadow);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-placeholder {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    isolation: isolate;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(246, 243, 255, .90)),
        var(--pink-soft);
    color: var(--title);
    text-align: center;
}

.media-placeholder::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: -1;
    border: 1px dashed rgba(217, 70, 123, 0.22);
    border-radius: 20px;
    pointer-events: none;
}

.media-placeholder strong {
    max-width: 520px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.22;
}

.media-placeholder small {
    max-width: 540px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.media-orb {
    position: absolute;
    z-index: -2;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(4px);
    opacity: .72;
    pointer-events: none;
}

.media-orb-one {
    top: -42px;
    left: -24px;
    background: rgba(255, 150, 173, .30);
}

.media-orb-two {
    right: -30px;
    bottom: -60px;
    background: rgba(139, 116, 232, .24);
}

.hero {
    position: relative;
    padding: clamp(64px, 7vw, 96px) 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(420px, 1.55fr) minmax(180px, .8fr);
    align-items: center;
    gap: 26px;
}

.hero-side {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
}

.hero-side h2 {
    margin: 0 0 10px;
    color: var(--title);
    font-size: 20px;
}

.hero-side p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

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

.hero-center .brand-kicker {
    color: var(--berry);
    font-weight: 900;
    letter-spacing: .12em;
}

.hero-center h1 {
    font-size: clamp(44px, 6vw, 76px);
}

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

.hero-visual {
    margin-top: 36px;
}

.hero-visual .media-frame {
    min-height: clamp(300px, 40vw, 560px);
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.index-item {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(70, 44, 58, 0.06);
}

.index-item:nth-child(even) {
    background: var(--purple-soft);
}

.index-item h3 {
    margin: 0 0 8px;
    color: var(--title);
    font-size: 18px;
}

.index-item p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.index-item .text-link {
    margin-top: auto;
    font-size: 14px;
}

.story-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 24px;
}

.story-main {
    overflow: hidden;
}

.story-main .media-frame {
    min-height: 360px;
    border-radius: 24px 24px 0 0;
    box-shadow: none;
}

.story-main-content {
    padding: 28px;
}

.story-main-content h3 {
    margin: 0 0 12px;
    color: var(--title);
    font-size: 30px;
}

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

.story-card {
    padding: 22px;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.gallery-item .media-frame {
    min-height: 250px;
    border-radius: 0;
    box-shadow: none;
}

.gallery-copy {
    padding: 22px;
}

.gallery-copy h3 {
    margin: 0 0 8px;
    color: var(--title);
    font-size: 21px;
}

.gallery-copy p {
    margin: 0 0 10px;
    color: var(--muted);
}

.interest-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin-bottom: 30px;
}

.interest-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.interest-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
}

.interest-card:nth-child(3n+2) {
    background: var(--pink-soft);
}

.interest-card:nth-child(3n) {
    background: var(--purple-soft);
}

.interest-card h3 {
    margin: 0 0 10px;
    color: var(--title);
}

.interest-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.interest-card small {
    color: var(--hint);
}

.interest-card .text-link {
    margin-top: auto;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.topic-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

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

.topic-card .text-link {
    margin-top: auto;
}

.journal-wrap {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: stretch;
}

.journal-paper {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background:
        repeating-linear-gradient(180deg, #fff 0, #fff 36px, rgba(255, 92, 152, 0.09) 37px, #fff 38px);
    box-shadow: var(--shadow);
}

.journal-paper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 52px;
    width: 1px;
    background: rgba(255, 92, 152, .24);
    pointer-events: none;
}

.journal-paper p,
.journal-paper h3 {
    position: relative;
    z-index: 1;
}

.journal-cards {
    display: grid;
    gap: 18px;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.explore-card {
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: #fff;
}

.explore-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(139, 116, 232, .10);
    pointer-events: none;
}

.explore-card h3 {
    margin: 0 0 12px;
    color: var(--title);
    font-size: 22px;
}

.explore-card p {
    margin: 0;
    color: var(--muted);
}

.explore-card .text-link {
    margin-top: auto;
}

.app-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: clamp(30px, 6vw, 80px);
    padding: clamp(34px, 5vw, 68px);
    border: 1px solid var(--border);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(246, 243, 255, .88));
    box-shadow: var(--shadow-strong);
}

.app-showcase .media-frame {
    min-height: 520px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.service-mini {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--border);
}

.service-mini h3 {
    margin: 0 0 6px;
    color: var(--title);
    font-size: 17px;
}

.service-mini p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.principle-item {
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}

.principle-item h3 {
    margin: 0 0 9px;
    color: var(--title);
    font-size: 19px;
}

.principle-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.security-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.security-panel .media-frame {
    min-height: 300px;
    border-radius: 0;
    box-shadow: none;
}

.security-copy {
    padding: 30px;
}

.security-copy h3 {
    margin: 0 0 14px;
    color: var(--title);
    font-size: 30px;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.pill-list li {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: 13px;
    font-weight: 750;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feedback-card {
    position: relative;
    min-height: 210px;
    padding: 28px;
}

.feedback-card::before {
    content: "“";
    position: absolute;
    top: 8px;
    right: 18px;
    color: rgba(255, 92, 152, .18);
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.feedback-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text);
}

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

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(70, 44, 58, 0.05);
}

.faq-list summary {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 16px 58px 16px 22px;
    color: var(--title);
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: 22px;
    line-height: 1;
}

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

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

.faq-answer p {
    margin: 0;
}

.about-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    align-items: center;
    gap: 38px;
}

.about-strip .media-frame {
    min-height: 420px;
}

.page-hero {
    padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
    align-items: center;
    gap: 44px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
}

.page-hero .media-frame {
    min-height: 360px;
}

.lead {
    color: var(--muted);
    font-size: 18px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
}

.prose {
    min-width: 0;
}

.prose article,
.prose section {
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.prose h2 {
    margin: 0 0 14px;
    color: var(--title);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.28;
}

.prose h3 {
    margin: 24px 0 8px;
    color: var(--title);
    font-size: 20px;
}

.prose p {
    margin: 0 0 14px;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose ul,
.prose ol {
    margin: 14px 0 0;
    padding-left: 1.3em;
}

.prose li + li {
    margin-top: 8px;
}

.side-nav {
    position: sticky;
    top: calc(var(--header-height) + 22px);
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.side-nav h2 {
    margin: 0 0 12px;
    color: var(--title);
    font-size: 18px;
}

.side-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 92, 152, .09);
    color: var(--muted);
    font-size: 14px;
}

.side-nav a:last-child {
    border-bottom: 0;
}

.side-nav a:hover {
    color: var(--berry);
}

.inline-note {
    padding: 20px 22px;
    border-left: 4px solid var(--brand);
    border-radius: 0 18px 18px 0;
    background: var(--pink-soft);
    color: var(--text);
}

.step-list {
    display: grid;
    gap: 16px;
    counter-reset: steps;
}

.guide-step {
    position: relative;
    padding: 26px 26px 26px 82px;
    counter-increment: steps;
}

.guide-step::before {
    content: counter(steps);
    position: absolute;
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 900;
}

.notice-list,
.support-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.notice-card,
.support-card {
    padding: 26px;
}

.notice-card time {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
}

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

.contact-flow article {
    min-height: 240px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
}

.contact-flow b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple-deep);
}

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

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

.service-ending {
    margin-top: 32px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--pink-soft), var(--purple-soft));
}

.service-ending h2 {
    margin: 0 0 10px;
    color: var(--title);
    font-size: 26px;
}

.service-ending p {
    margin: 0;
}

.site-footer {
    background: #30252B;
    color: #FFEAF2;
}

.footer-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 72px 0 28px;
}

.footer-brand-block {
    max-width: 560px;
    margin-bottom: 42px;
}

.footer-brand {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
}

.footer-logo.brand-logo-text {
    color: #FFEAF2;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-brand-block p {
    margin: 12px 0 0;
    color: rgba(255, 234, 242, .72);
}

.footer-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.footer-groups h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
}

.footer-groups a {
    min-height: 38px;
    display: flex;
    align-items: center;
    color: rgba(255, 234, 242, .72);
    font-size: 14px;
}

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

.footer-note {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 234, 242, .58);
    font-size: 13px;
}

.footer-note p {
    margin: 0;
}

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

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    visibility: hidden;
    background: rgba(49, 38, 44, .28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

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

.channel-panel {
    position: fixed;
    z-index: 1100;
    top: var(--header-height);
    right: 0;
    left: 0;
    visibility: hidden;
    max-height: calc(100vh - var(--header-height) - 18px);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 249, 252, .98);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

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

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

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.panel-heading h2 {
    margin: 8px 0 0;
    color: var(--title);
    font-size: clamp(24px, 3vw, 38px);
}

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

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

.channel-columns section {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
}

.channel-columns h3 {
    margin: 0 0 12px;
    color: var(--title);
    font-size: 17px;
}

.channel-columns a {
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 92, 152, .09);
}

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

.channel-columns b {
    color: var(--title);
    font-size: 15px;
}

.channel-columns span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.mobile-drawer {
    position: fixed;
    z-index: 1110;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 390px);
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: -18px 0 48px rgba(49, 38, 44, .18);
    transform: translateX(105%);
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
}

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

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

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

.drawer-logo {
    max-width: 148px;
    max-height: 44px;
}

.drawer-links {
    padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
}

.drawer-links a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255, 92, 152, .09);
    color: var(--title);
    font-weight: 750;
}

@media (max-width: 1100px) {
    .nav-shell {
        gap: 10px;
    }

    .desktop-nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 14px;
    }

    .site-brand {
        min-width: 134px;
    }

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

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

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

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

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-center {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .story-feature,
    .journal-wrap,
    .page-hero-inner,
    .about-strip,
    .app-showcase,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .feedback-grid,
    .explore-grid,
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .side-nav {
        position: static;
        order: -1;
    }

    .contact-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 68px;
    }

    .nav-shell {
        width: min(calc(100% - 24px), var(--container));
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
    }

    .desktop-nav {
        display: none;
    }

    .desktop-nav-right {
        padding-right: 0;
    }

    .site-brand {
        min-width: 0;
        justify-content: flex-start;
        padding: 0 4px;
    }

    .brand-logo {
        max-width: 144px;
        max-height: 44px;
    }

    .brand-logo-text {
        font-size: 22px;
    }

    .mobile-actions {
        display: block;
    }

    .mobile-experience {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 15px;
        border-radius: 999px;
        background: var(--gradient);
        color: #fff;
        font-size: 14px;
        font-weight: 850;
    }

    .menu-trigger {
        position: relative;
        right: auto;
        width: 44px;
        height: 44px;
    }

    .channel-panel {
        display: none;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 900;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 12px;
        min-height: 64px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow: hidden;
        padding: 6px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 16px 40px rgba(49, 38, 44, .16);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .mobile-bottom-nav a {
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 16px;
        color: var(--muted);
        font-size: 12px;
    }

    .mobile-bottom-nav a span {
        font-size: 20px;
        line-height: 1;
    }

    .mobile-bottom-nav a b {
        font-weight: 750;
        line-height: 1;
    }

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

    .site-footer {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .hero {
        padding-top: 52px;
    }

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

    .hero-center,
    .hero-side {
        grid-column: auto;
    }

    .hero-center {
        grid-row: auto;
        order: -2;
    }

    .hero-side:first-child {
        order: -1;
    }

    .hero-center h1 {
        font-size: clamp(40px, 12vw, 62px);
    }

    .hero-visual .media-frame {
        min-height: 280px;
    }

    .app-showcase .media-frame {
        min-height: 400px;
    }

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

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

@media (max-width: 620px) {
    .container,
    .footer-inner,
    .channel-panel-inner {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 62px 0;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .index-grid,
    .gallery-grid,
    .feedback-grid,
    .explore-grid,
    .interest-list,
    .topic-grid,
    .principle-grid,
    .security-grid,
    .notice-list,
    .support-list,
    .contact-flow,
    .card-grid,
    .card-grid.two,
    .card-grid.four,
    .service-list {
        grid-template-columns: 1fr;
    }

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

    .story-main .media-frame,
    .gallery-item .media-frame,
    .security-panel .media-frame,
    .page-hero .media-frame,
    .about-strip .media-frame {
        min-height: 260px;
    }

    .story-main-content h3 {
        font-size: 26px;
    }

    .page-hero {
        padding-top: 64px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .prose article,
    .prose section,
    .card,
    .story-card,
    .topic-card,
    .info-card,
    .guide-step,
    .notice-card,
    .support-card {
        border-radius: 20px;
    }

    .guide-step {
        padding: 76px 22px 24px;
    }

    .guide-step::before {
        top: 22px;
        left: 22px;
    }

    .footer-groups {
        gap: 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;
    }
}
