/* ===== 踏歌故事坊公开主页 ===== */
:root {
    --landing-ink: #111119;
    --landing-ink-soft: #1f2029;
    --landing-paper: #f7f3ea;
    --landing-paper-muted: #d9d2c3;
    --landing-line: rgba(247, 243, 234, .18);
    --landing-vermilion: #d42a4a;
    --landing-gold: #d4b45c;
    --landing-jade: #4ca882;
    --landing-steel: #6aa0cc;
    --font-display: 'STSong', 'SimSun', serif;
    --font-body: -apple-system, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color-scheme: dark;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--landing-ink);
    color: var(--landing-paper);
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: 0;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    background: rgba(17, 17, 25, .76);
    border-bottom: 1px solid rgba(247, 243, 234, .12);
    backdrop-filter: blur(14px);
}

.site-brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

.site-brand span {
    color: var(--landing-vermilion);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--landing-paper-muted);
    font-size: 14px;
}

.site-nav a {
    transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover {
    color: var(--landing-paper);
}

.nav-entry {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(247, 243, 234, .34);
    border-radius: 6px;
    color: var(--landing-paper);
}

.landing-hero {
    position: relative;
    min-height: min(760px, 84svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: var(--landing-hero-image);
    background-size: cover;
    background-position: center;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 25, .42);
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(640px, calc(100vw - 48px));
    margin-left: max(24px, calc((100vw - 1180px) / 2));
    padding-top: 72px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.hero-kicker,
.section-kicker {
    margin: 0 0 12px;
    color: var(--landing-gold);
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-lead {
    width: min(560px, 100%);
    margin: 22px 0 0;
    color: rgba(247, 243, 234, .9);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.primary-action,
.secondary-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-action {
    padding: 0 22px;
    background: var(--landing-vermilion);
    color: #fff;
    box-shadow: 0 12px 28px rgba(212, 42, 74, .28);
}

.secondary-action {
    padding: 0 18px;
    border: 1px solid rgba(247, 243, 234, .38);
    color: var(--landing-paper);
    background: rgba(17, 17, 25, .22);
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-1px);
}

.primary-action:hover {
    background: #e04460;
}

.secondary-action:hover {
    border-color: rgba(247, 243, 234, .68);
    background: rgba(17, 17, 25, .36);
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    color: rgba(247, 243, 234, .74);
    font-size: 13px;
}

.hero-notes span {
    padding: 4px 0;
    border-bottom: 1px solid rgba(247, 243, 234, .28);
}

.landing-section,
.entry-section {
    padding: 76px max(24px, calc((100vw - 1180px) / 2));
    background: #15151d;
}

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

.section-heading h2,
.process-copy h2,
.entry-section h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 0;
}

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

.feature-card {
    min-height: 214px;
    padding: 22px;
    border: 1px solid rgba(247, 243, 234, .13);
    border-radius: 8px;
    background: #1f2029;
}

.feature-mark {
    width: 34px;
    height: 3px;
    margin-bottom: 22px;
    background: var(--landing-vermilion);
}

.feature-mark-gold {
    background: var(--landing-gold);
}

.feature-mark-jade {
    background: var(--landing-jade);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    letter-spacing: 0;
}

.feature-card p,
.process-copy p,
.process-list em {
    margin: 0;
    color: var(--landing-paper-muted);
    font-size: 15px;
    font-style: normal;
}

.process-section {
    padding: 72px max(24px, calc((100vw - 1180px) / 2));
    background: #f4efe5;
    color: #171720;
}

.process-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 52px;
    align-items: start;
}

.process-copy p {
    width: min(620px, 100%);
    margin-top: 18px;
    color: #56515a;
}

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

.process-list div {
    display: grid;
    grid-template-columns: 48px minmax(80px, 130px) minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid rgba(23, 23, 32, .14);
}

.process-list span {
    color: var(--landing-vermilion);
    font-weight: 800;
}

.process-list strong {
    font-size: 17px;
}

.process-list em {
    color: #615d66;
}

.entry-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid rgba(247, 243, 234, .12);
}

@media (max-width: 860px) {
    .site-header {
        min-height: 64px;
        padding: 0 18px;
    }

    .site-nav a:not(.nav-entry) {
        display: none;
    }

    .landing-hero {
        min-height: 82svh;
        background-position: 58% center;
    }

    .hero-copy {
        width: calc(100vw - 36px);
        margin-left: 18px;
        padding-top: 64px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .landing-section,
    .process-section,
    .entry-section {
        padding: 54px 18px;
    }

    .section-heading,
    .entry-section {
        display: block;
    }

    .feature-grid,
    .process-inner {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .process-list div {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .process-list em {
        grid-column: 2;
    }

    .entry-section .primary-action {
        margin-top: 22px;
    }
}

@media (max-width: 460px) {
    .site-brand {
        font-size: 20px;
    }

    .nav-entry {
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

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

    .primary-action,
    .secondary-action {
        width: 100%;
    }
}
