:root {
    --bg: #fff5f5;
    --bg-soft: #ffe8e8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-dark: #1b1214;
    --primary: #dc143c;
    --primary-deep: #b71233;
    --primary-soft: #e94560;
    --text: #1a1a1a;
    --text-muted: #666066;
    --line: rgba(120, 49, 61, 0.12);
    --blue: #4169e1;
    --orange: #ff8c00;
    --green: #32cd32;
    --purple: #9370db;
    --shadow: 0 20px 60px rgba(185, 40, 67, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(233, 69, 96, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(65, 105, 225, 0.08), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, #fff 34%, #fff7f8 100%);
}

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

button,
summary {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
}

.section,
.topbar,
.site-footer,
.trust-strip {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 30px rgba(128, 35, 52, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    font-family: "Noto Serif SC", serif;
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(220, 20, 60, 0.25);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.nav-cta {
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff !important;
}

.menu-toggle {
    display: none;
    border: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    padding: 96px 0 56px;
}

.eyebrow,
.preview-badge,
.spotlight-label,
.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero h1,
.section-heading h2,
.download-card h2,
.narrative-card h2 {
    margin: 18px 0 14px;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    line-height: 1.02;
}

.hero-lead,
.section-heading p,
.narrative-card p,
.download-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.hero-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.section-actions {
    margin-top: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    box-shadow: 0 14px 32px rgba(220, 20, 60, 0.2);
}

.button-secondary {
    border: 1px solid rgba(220, 20, 60, 0.18);
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.hero-stats article,
.feature-card,
.scene-card,
.type-group,
.comparison-table,
.narrative-card,
.quote-card,
.download-card,
.type-spotlight,
.faq-list details {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero-stats article {
    padding: 18px;
    border-radius: var(--radius-md);
}

.hero-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
}

.hero-stats span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.hero-panel {
    position: relative;
    min-height: 620px;
}

.phone-card {
    position: absolute;
    border-radius: 36px;
    background: linear-gradient(180deg, #fff 0%, #fff3f5 100%);
    border: 1px solid rgba(220, 20, 60, 0.14);
    box-shadow: 0 30px 80px rgba(153, 41, 65, 0.18);
}

.phone-card-main {
    inset: 0 50px 80px 0;
    padding: 22px;
}

.phone-card-side {
    right: 0;
    bottom: 0;
    width: 250px;
    padding: 22px;
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.signal,
.battery {
    width: 18px;
    height: 10px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.18);
}

.app-preview {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 34px;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(65, 105, 225, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(220, 20, 60, 0.95), rgba(183, 18, 51, 0.95));
    color: #fff;
}

.app-preview h2 {
    margin: 0;
    font-family: "Noto Serif SC", serif;
    font-size: 2.4rem;
}

.app-preview p,
.preview-list {
    margin: 0;
    line-height: 1.8;
}

.preview-list {
    padding-left: 18px;
}

.phone-card-side strong {
    display: block;
    margin-top: 12px;
    font-size: 1.3rem;
}

.phone-card-side span,
.phone-card-side p {
    color: var(--text-muted);
}

.mini-progress {
    height: 10px;
    margin: 16px 0 12px;
    border-radius: 999px;
    background: rgba(220, 20, 60, 0.1);
    overflow: hidden;
}

.mini-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 243, 245, 0.88));
    border: 1px solid var(--line);
}

.trust-strip p {
    margin: 0;
    font-weight: 700;
}

.trust-strip div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-strip span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary);
    font-size: 0.9rem;
}

.section {
    padding: 92px 0 0;
}

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

.section-heading.narrow,
.inner-hero .section-heading {
    max-width: 760px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid,
.scene-grid,
.type-groups {
    display: grid;
    gap: 18px;
}

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

.feature-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-lg);
}

.feature-card-highlight {
    background:
        radial-gradient(circle at top right, rgba(65, 105, 225, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 238, 241, 0.94));
}

.feature-index {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.feature-card h3,
.scene-card h3,
.type-group h3,
.timeline-item h3,
.comparison-section h2,
.faq-list summary {
    margin: 16px 0 10px;
    font-size: 1.24rem;
}

.feature-card p,
.scene-card p,
.type-group span,
.timeline-item p,
.comparison-row span,
.comparison-head span,
.type-spotlight p,
.faq-list p,
.site-footer p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.narrative-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.narrative-card,
.quote-card,
.download-card,
.type-spotlight {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.quote-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(160deg, rgba(27, 18, 20, 0.98), rgba(77, 24, 36, 0.96));
}

.quote-card p {
    margin: 0;
    color: #fff;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.45;
}

.quote-card span {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
}

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

.type-group {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.type-group p {
    margin: 0 0 10px;
    color: var(--primary);
    font-weight: 700;
}

.type-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 20px;
}

.type-chip {
    border: 1px solid rgba(220, 20, 60, 0.14);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.type-chip:hover,
.type-chip.active {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
}

.type-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

.scene-card {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 20px;
    align-items: start;
    padding: 22px 0;
    border-top: 1px solid rgba(120, 49, 61, 0.12);
}

.timeline-item:first-child {
    border-top: 0;
}

.timeline-item span {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary);
    font-weight: 800;
}

.comparison-table {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.comparison-head,
.comparison-row {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1.1fr;
}

.comparison-head {
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.92), rgba(183, 18, 51, 0.92));
}

.comparison-head span {
    padding: 18px 22px;
    color: #fff;
    font-weight: 700;
}

.comparison-row:nth-child(odd) {
    background: rgba(255, 247, 248, 0.88);
}

.comparison-row span {
    padding: 18px 22px;
    border-top: 1px solid rgba(120, 49, 61, 0.1);
}

.download-card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(65, 105, 225, 0.14), transparent 25%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 238, 241, 0.96));
}

.download-card h2 {
    font-size: clamp(1.9rem, 4vw, 3.4rem);
}

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

.faq-list details {
    padding: 20px 22px;
    border-radius: var(--radius-lg);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
}

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

.faq-list p {
    padding-top: 10px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 44px 0 60px;
}

.site-record {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 0 0 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-record a:hover {
    color: var(--primary);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
}

.inner-hero {
    padding-top: 80px;
}

.module-stack,
.journey-grid,
.persona-grid,
.reading-grid,
.story-grid,
.download-grid {
    display: grid;
    gap: 18px;
}

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

.module-card,
.journey-card,
.persona-card,
.story-card,
.download-panel {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

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

.journey-card span,
.persona-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 12px;
    border-radius: 16px;
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary);
    font-weight: 800;
}

.journey-card h3,
.persona-card h3,
.story-card h3,
.download-panel h3,
.module-card strong {
    display: block;
    margin: 16px 0 10px;
    font-size: 1.2rem;
}

.journey-card p,
.persona-card p,
.story-card p,
.download-panel p,
.module-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

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

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

.download-panel .button {
    margin-top: 18px;
}

@media (max-width: 1080px) {
    .hero,
    .narrative-section,
    .type-spotlight,
    .download-card {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .scene-grid,
    .type-groups,
    .persona-grid,
    .reading-grid,
    .story-grid,
    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-panel {
        min-height: 560px;
    }
}

@media (max-width: 820px) {
    .topbar {
        top: 10px;
        padding: 14px 16px;
        border-radius: 24px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        padding-top: 64px;
    }

    .hero h1,
    .section-heading h2,
    .download-card h2,
    .narrative-card h2 {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
    }

    .hero-stats,
    .feature-grid,
    .scene-grid,
    .type-groups,
    .module-stack,
    .journey-grid,
    .persona-grid,
    .reading-grid,
    .story-grid,
    .download-grid,
    .comparison-head,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: auto;
        display: grid;
        gap: 16px;
    }

    .phone-card {
        position: relative;
        inset: auto;
        width: 100%;
    }

    .comparison-head {
        display: none;
    }

    .comparison-row span {
        border-top: 0;
        padding-top: 0;
    }

    .comparison-row {
        gap: 10px;
        padding: 16px 18px;
        border-top: 1px solid rgba(120, 49, 61, 0.1);
    }

    .comparison-row span:first-child {
        padding-top: 0;
        color: var(--primary);
        font-weight: 800;
    }

    .timeline-item {
        grid-template-columns: 64px 1fr;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .section,
    .topbar,
    .site-footer,
    .trust-strip,
    .site-record {
        width: min(calc(100% - 24px), var(--content-width));
    }

    .brand-copy span {
        display: none;
    }

    .hero-actions,
    .download-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-stats article,
    .feature-card,
    .scene-card,
    .type-group,
    .narrative-card,
    .quote-card,
    .download-card,
    .type-spotlight,
    .faq-list details {
        border-radius: 22px;
    }
}
