:root {
    --page-bg: #FFF8FB;
    --surface: #FFFFFF;
    --pink-soft: #FFF0F6;
    --purple-soft: #F7F3FF;
    --gray-pink: #F8F4F6;
    --title: #32262D;
    --text: #51444C;
    --muted: #7C6D76;
    --subtle: #A09199;
    --brand: #FF5D9E;
    --berry: #D94C83;
    --coral: #FF8EAC;
    --purple: #8C76E8;
    --purple-dark: #6753B5;
    --border: rgba(255, 93, 158, 0.15);
    --shadow: 0 14px 36px rgba(76, 48, 66, 0.08);
    --shadow-strong: 0 18px 46px rgba(217, 76, 131, 0.15);
    --gradient: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
    --footer: #30242B;
    --footer-text: #FFEAF2;
    --container: 1200px;
    --header-height: 112px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--page-bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.channels-open {
    overflow: hidden;
}

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

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

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

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

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

button {
    color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--title);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.45rem, 5vw, 5.25rem);
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3vw, 2.8rem);
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(1.12rem, 2vw, 1.4rem);
}

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

ul,
ol {
    padding-left: 1.25rem;
}

:focus-visible {
    outline: 3px solid rgba(140, 118, 232, 0.45);
    outline-offset: 3px;
    border-radius: 8px;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
}

.top-note {
    background: linear-gradient(90deg, #FFE6F0, #F2ECFF);
    border-bottom: 1px solid rgba(255, 93, 158, 0.12);
}

.top-note-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.86rem;
}

.top-note-inner p {
    margin: 0;
}

.top-note-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-note-links a {
    font-weight: 650;
}

.main-nav {
    position: relative;
    background: rgba(255, 248, 251, 0.94);
    border-bottom: 1px solid rgba(255, 93, 158, 0.12);
    backdrop-filter: blur(16px);
}

.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    color: var(--title);
}

.brand img {
    width: auto;
    max-width: 168px;
    max-height: 48px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -0.04em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.primary-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.2vw, 30px);
    min-width: 0;
}

.primary-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.primary-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient);
    transform: translateX(-50%);
    transition: width 0.2s ease;
    pointer-events: none;
}

.primary-links a:hover,
.primary-links a.is-active {
    color: var(--title);
}

.primary-links a:hover::after,
.primary-links a.is-active::after {
    width: 24px;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 780;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button::before,
.button::after,
.card::before,
.card::after,
.decorative::before,
.decorative::after {
    pointer-events: none;
}

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

.button-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 24px rgba(217, 76, 131, 0.22);
}

.button-primary:hover {
    color: #fff;
    box-shadow: var(--shadow-strong);
}

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

.button-secondary:hover {
    border-color: rgba(217, 76, 131, 0.35);
}

.button-quiet {
    background: rgba(255, 255, 255, 0.76);
    border-color: var(--border);
    color: var(--title);
}

.button-small {
    min-height: 44px;
    padding: 10px 17px;
    font-size: 0.94rem;
}

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

.text-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

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

.mobile-nav {
    display: none;
}

.mobile-channel-button,
.mobile-experience,
.panel-close {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
    font-weight: 760;
}

.mobile-channel-button {
    padding: 8px 12px;
    color: var(--berry);
}

.mobile-experience {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 8px 14px;
    background: var(--gradient);
    color: #fff;
}

.mobile-experience:hover {
    color: #fff;
}

main {
    display: block;
}

.section {
    position: relative;
    padding: clamp(72px, 8vw, 118px) 0;
}

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

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

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

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

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

.section-head {
    max-width: 780px;
    margin-bottom: 36px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-kicker,
.eyebrow {
    margin-bottom: 10px;
    color: var(--berry);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-intro {
    color: var(--muted);
    font-size: 1.06rem;
}

.hero {
    overflow: hidden;
    padding: clamp(66px, 8vw, 110px) 0 clamp(58px, 7vw, 96px);
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 142, 172, 0.24), transparent 30%),
        radial-gradient(circle at 84% 10%, rgba(140, 118, 232, 0.18), transparent 28%),
        linear-gradient(180deg, #FFF8FB 0%, #FFFFFF 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.72fr) minmax(230px, 0.52fr);
    align-items: center;
    gap: clamp(28px, 4vw, 54px);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-brand {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--berry);
    font-weight: 820;
}

.hero h1 {
    max-width: 650px;
}

.hero-copy > p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 30px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 9% -8% 5%;
    border-radius: 44% 56% 45% 55%;
    background: linear-gradient(145deg, rgba(255, 142, 172, 0.28), rgba(140, 118, 232, 0.24));
    filter: blur(2px);
    transform: rotate(-5deg);
    pointer-events: none;
}

.hero-phone {
    position: relative;
    z-index: 1;
    min-height: 520px;
    aspect-ratio: 0.68;
    border-radius: 40px;
    box-shadow: var(--shadow-strong);
}

.hero-phone img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.hero-side {
    display: grid;
    gap: 18px;
}

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

.hero-note:nth-child(2) {
    transform: translateX(20px);
    background: linear-gradient(145deg, #FFFFFF, #F7F3FF);
}

.hero-note p {
    color: var(--muted);
    font-size: 0.95rem;
}

.media-frame {
    position: relative;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 26px;
    background: linear-gradient(145deg, #FFE6F0, #F1EBFF);
    box-shadow: var(--shadow);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(145deg, #FFE6F0, #F1EBFF);
}

.media-fallback {
    min-height: 260px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
        linear-gradient(145deg, #FFD6E5 0%, #FFEAF2 48%, #E8E0FF 100%);
}

.media-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.media-orb-one {
    width: 48%;
    aspect-ratio: 1;
    top: 10%;
    left: 8%;
    background: rgba(255, 255, 255, 0.58);
}

.media-orb-two {
    width: 38%;
    aspect-ratio: 1;
    right: 7%;
    bottom: 7%;
    background: rgba(140, 118, 232, 0.21);
}

.media-line {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 20%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 -28px 0 rgba(255, 255, 255, 0.46), 0 -56px 0 rgba(255, 255, 255, 0.34);
    pointer-events: none;
}

.topic-strip {
    padding: 24px 0 36px;
    background: #fff;
    border-top: 1px solid rgba(255, 93, 158, 0.1);
    border-bottom: 1px solid rgba(255, 93, 158, 0.1);
}

.topic-scroll {
    display: grid;
    grid-template-columns: repeat(8, minmax(128px, 1fr));
    gap: 12px;
}

.topic-pill {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(160deg, #FFFFFF, #FFF7FA);
}

.topic-pill:nth-child(3n) {
    background: linear-gradient(160deg, #FFFFFF, #F7F3FF);
}

.topic-pill strong {
    display: block;
    margin-bottom: 4px;
    color: var(--title);
    font-size: 0.98rem;
}

.topic-pill span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.topic-pill a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 8px;
    color: var(--berry);
    font-size: 0.84rem;
    font-weight: 760;
}

.magazine-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.78fr));
    grid-auto-rows: minmax(230px, auto);
    gap: 20px;
}

.story-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255, 93, 158, 0.14);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.story-card.featured {
    grid-row: span 2;
    padding: 0;
}

.story-card .story-media {
    min-height: 270px;
    border-radius: 0;
    box-shadow: none;
}

.story-card.featured .story-media {
    min-height: 390px;
}

.story-body {
    padding: 24px;
}

.story-body p,
.story-card > p {
    color: var(--muted);
}

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

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: 0.78rem;
    font-weight: 740;
}

.tag.purple {
    background: var(--purple-soft);
    color: var(--purple-dark);
}

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

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

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

.card {
    position: relative;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.card.soft {
    background: linear-gradient(145deg, #FFFFFF, #FFF3F8);
}

.card.purple {
    background: linear-gradient(145deg, #FFFFFF, #F7F3FF);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    font-weight: 850;
}

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

.card-list {
    margin: 14px 0 0;
    color: var(--muted);
}

.card-list li + li {
    margin-top: 6px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(var(--coral), var(--purple));
    pointer-events: none;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
}

.timeline-dot {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 8px solid var(--page-bg);
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 1px rgba(255, 93, 158, 0.2);
}

.timeline-content {
    padding: 4px 0 20px;
    border-bottom: 1px solid rgba(255, 93, 158, 0.12);
}

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

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

.topic-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.topic-row p {
    margin-bottom: 0;
    color: var(--muted);
}

.diary-layout,
.app-layout,
.split-layout,
.safety-layout,
.brand-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
    align-items: center;
    gap: clamp(34px, 6vw, 76px);
}

.diary-media,
.app-media,
.brand-media {
    min-height: 500px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

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

.service-mini p {
    color: var(--muted);
    font-size: 0.94rem;
}

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

.advice-card {
    padding: 24px;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

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

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

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

.safety-panel-body {
    padding: 30px;
}

.notice-box {
    padding: 22px 24px;
    border-left: 4px solid var(--brand);
    border-radius: 8px 20px 20px 8px;
    background: var(--pink-soft);
    color: var(--text);
}

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

.feedback-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 93, 158, 0.13);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.feedback-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    right: 20px;
    color: rgba(255, 93, 158, 0.2);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.feedback-card p {
    position: relative;
    margin: 0;
}

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

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(76, 48, 66, 0.05);
}

.faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 18px 54px 18px 20px;
    cursor: pointer;
    color: var(--title);
    font-weight: 780;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--berry);
    pointer-events: none;
}

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

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

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 0 clamp(58px, 7vw, 94px);
    background:
        radial-gradient(circle at 90% 10%, rgba(140, 118, 232, 0.16), transparent 28%),
        radial-gradient(circle at 12% 65%, rgba(255, 93, 158, 0.15), transparent 24%),
        linear-gradient(180deg, #FFF8FB, #FFFFFF);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
    align-items: center;
    gap: 52px;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 5vw, 4.75rem);
}

.page-lead {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.08rem;
}

.page-hero-visual {
    min-height: 330px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--subtle);
    font-size: 0.9rem;
}

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

.content-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.content-index a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-weight: 730;
}

.prose {
    max-width: 820px;
}

.prose p {
    margin-bottom: 1.15em;
}

.prose h2 {
    margin-top: 1.7em;
}

.prose h3 {
    margin-top: 1.5em;
}

.prose-wide {
    max-width: none;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--berry);
    font-weight: 850;
}

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

.step-item {
    position: relative;
    padding: 26px 26px 26px 82px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
    counter-increment: step;
}

.step-item::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 24px;
    top: 24px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    font-weight: 850;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 93, 158, 0.1);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 24%;
    color: var(--title);
    background: var(--pink-soft);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: 0;
}

.callout {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, #FFF0F6, #F7F3FF);
    border: 1px solid rgba(140, 118, 232, 0.14);
}

.callout h2,
.callout h3 {
    margin-bottom: 10px;
}

.link-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.related-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    color: var(--title);
    font-weight: 750;
}

.related-link::after {
    content: "→";
    color: var(--berry);
}

.end-service {
    padding: 34px;
    border-radius: 26px;
    background: var(--footer);
    color: var(--footer-text);
}

.end-service h2 {
    color: #fff;
}

.end-service p {
    color: rgba(255, 234, 242, 0.78);
}

.end-service .button-secondary {
    background: #fff;
}

.channel-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(48, 36, 43, 0.32);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.desktop-channel-panel {
    --panel-top: 112px;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--panel-top);
    z-index: 120;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.channel-panel-inner {
    overflow: auto;
    max-height: calc(100vh - var(--panel-top) - 24px);
    padding: 28px;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 28px 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(48, 36, 43, 0.16);
}

.channel-panel-head,
.mobile-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.channel-panel-head h2,
.mobile-sheet-head h2 {
    margin: 0;
    font-size: 1.65rem;
}

.channel-panel-head .eyebrow,
.mobile-sheet-head .eyebrow {
    margin-bottom: 2px;
}

.panel-close {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 1px solid var(--border);
    color: var(--berry);
}

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

.channel-group {
    min-width: 0;
}

.channel-group > h3 {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
}

.channel-item {
    display: block;
    min-height: 72px;
    margin-bottom: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    transition: background-color 0.2s ease;
}

.channel-item:hover,
.channel-item.is-active {
    background: var(--pink-soft);
}

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

.channel-item strong {
    margin-bottom: 2px;
    color: var(--title);
}

.channel-item span {
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.5;
}

.mobile-channel-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    visibility: hidden;
    max-height: 85vh;
    overflow-y: auto;
    padding: 12px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    background: var(--surface);
    box-shadow: 0 -24px 64px rgba(48, 36, 43, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(104%);
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.28s ease;
}

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

.sheet-grip {
    width: 48px;
    height: 5px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: #D8CAD1;
}

.mobile-channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-channel-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--gray-pink);
    color: var(--title);
    font-weight: 730;
}

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

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

.site-footer {
    position: relative;
    z-index: 1;
    padding: 70px 0 calc(28px + env(safe-area-inset-bottom));
    background: var(--footer);
    color: var(--footer-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(130px, 0.75fr));
    gap: 34px;
}

.footer-brand p {
    max-width: 380px;
    color: rgba(255, 234, 242, 0.7);
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo .brand-text {
    background: none;
    color: #fff;
}

.footer-column h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    min-height: 34px;
    color: rgba(255, 234, 242, 0.74);
    font-size: 0.92rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 234, 242, 0.62);
    font-size: 0.86rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p:first-child {
    max-width: 760px;
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
    }

    .hero-side {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .primary-links {
        gap: 12px;
    }

    .primary-links a {
        font-size: 0.92rem;
    }

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

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

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

@media (max-width: 900px) {
    :root {
        --header-height: 98px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .desktop-nav,
    .desktop-channel-panel {
        display: none;
    }

    .mobile-nav {
        min-height: 62px;
        display: grid;
        grid-template-columns: minmax(84px, 1fr) auto minmax(84px, 1fr);
        gap: 8px;
    }

    .mobile-channel-button {
        justify-self: start;
    }

    .brand-mobile {
        justify-self: center;
    }

    .brand-mobile img {
        max-width: 136px;
        max-height: 40px;
    }

    .brand-mobile .brand-text {
        font-size: 1.16rem;
    }

    .mobile-experience {
        justify-self: end;
    }

    .hero-grid,
    .page-hero-grid,
    .diary-layout,
    .app-layout,
    .split-layout,
    .safety-layout,
    .brand-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        width: min(78vw, 420px);
        margin-inline: auto;
    }

    .hero-phone {
        min-height: 460px;
    }

    .hero-side {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding: 4px 2px 14px;
    }

    .hero-note {
        scroll-snap-align: start;
    }

    .topic-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding: 2px 1px 12px;
    }

    .topic-pill {
        flex: 0 0 180px;
        scroll-snap-align: start;
    }

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

    .story-card.featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }

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

    .topic-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .safety-pair {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

    .container {
        width: calc(100% - 32px);
    }

    .top-note-inner {
        min-height: 34px;
        font-size: 0.77rem;
    }

    .top-note-community {
        display: none;
    }

    .top-note-links {
        gap: 0;
    }

    .hero,
    .page-hero {
        padding-top: 52px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.25rem, 13vw, 3.7rem);
    }

    .hero-actions,
    .link-cluster {
        align-items: stretch;
    }

    .hero-actions .button,
    .link-cluster .button {
        width: 100%;
    }

    .hero-actions .text-link {
        justify-content: center;
        width: 100%;
    }

    .hero-visual {
        width: min(88vw, 380px);
    }

    .hero-phone {
        min-height: 420px;
        border-radius: 32px;
    }

    .hero-side {
        grid-template-columns: minmax(265px, 82vw) minmax(265px, 82vw);
    }

    .magazine-grid,
    .card-grid,
    .card-grid.two,
    .card-grid.four,
    .feedback-grid,
    .service-grid,
    .advice-grid,
    .related-links {
        grid-template-columns: 1fr;
    }

    .story-card.featured {
        grid-column: auto;
    }

    .story-card.featured .story-media,
    .story-card .story-media {
        min-height: 250px;
    }

    .diary-media,
    .app-media,
    .brand-media {
        min-height: 350px;
    }

    .page-hero-grid {
        gap: 30px;
    }

    .timeline-item {
        gap: 10px;
    }

    .step-item {
        padding: 76px 20px 22px;
    }

    .step-item::before {
        top: 20px;
        left: 20px;
    }

    .info-table,
    .info-table tbody,
    .info-table tr,
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        border-bottom: 0;
    }

    .info-table td {
        border-bottom: 1px solid rgba(255, 93, 158, 0.1);
    }

    .info-table tr:last-child td {
        border-bottom: 0;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        min-height: calc(64px + env(safe-area-inset-bottom));
        padding: 6px 8px env(safe-area-inset-bottom);
        border-top: 1px solid rgba(255, 93, 158, 0.14);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 28px rgba(76, 48, 66, 0.08);
        backdrop-filter: blur(16px);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 52px;
        padding: 4px 2px;
        border-radius: 12px;
        color: var(--muted);
        font-size: 0.72rem;
        line-height: 1.25;
    }

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

    .bottom-icon {
        display: block;
        margin-bottom: 3px;
        font-size: 1.08rem;
        line-height: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
    }

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

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

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