:root {
    --ink: #24201f;
    --muted: #796f6a;
    --cream: #fff9f3;
    --paper: #ffffff;
    --peach: #ff765e;
    --pink: #ffdfd8;
    --mint: #d8f0e5;
    --line: #eee3dc;
    --shadow: 0 18px 40px rgba(95, 53, 43, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button {
    font: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 249, 243, 0.93);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: #542a2b;
    font-size: 19px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 12px 12px 12px 3px;
    background: var(--peach);
    color: white;
    font-size: 17px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 9px;
    color: #594e49;
    font-size: 13px;
    white-space: nowrap;
}

.main-nav a:hover {
    background: var(--pink);
    color: #a94336;
}

.nav-action,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 18px;
    border: 1px solid var(--peach);
    border-radius: 10px;
    background: var(--peach);
    color: white;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-action {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 13px;
}

.button:hover,
.nav-action:hover {
    box-shadow: 0 10px 20px rgba(255, 118, 94, 0.24);
    transform: translateY(-2px);
}

.hero {
    margin-top: 32px;
}

.hero-slide {
    display: grid;
    min-height: 410px;
    grid-template-columns: 1fr 1.05fr;
    overflow: hidden;
    border-radius: 26px;
    background: #ffdcd5;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px;
}

.eyebrow,
.card-label {
    margin: 0 0 9px;
    color: #c05243;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero h1,
.page-hero h1,
.article h1 {
    margin: 0;
    font-size: clamp(29px, 4vw, 48px);
    line-height: 1.2;
}

.hero h1 a:hover {
    color: #a94336;
}

.hero h2 {
    margin: 14px 0;
    font-size: 23px;
}

.hero p:not(.eyebrow),
.feature-copy p,
.about p,
.mini-feature p,
.subscribe p,
.seo-copy p,
.page-hero p {
    color: var(--muted);
}

.hero-copy .button {
    margin-top: 14px;
}

.hero-slide > img {
    min-height: 410px;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding-top: 14px;
}

.hero-dots button {
    width: 32px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: #aa948a;
    cursor: pointer;
    font-size: 12px;
}

.hero-dots button.active {
    background: var(--peach);
    color: white;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 42px;
}

.quick-link {
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
}

.quick-link > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--pink);
    color: #bc4c3d;
    font-size: 18px;
}

.quick-link strong {
    display: block;
    margin-top: 13px;
    font-size: 14px;
}

.quick-link small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.quick-link:hover,
.video-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.section-block {
    margin-top: 74px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading h2,
.feature-copy h2,
.mini-feature h2,
.about h2,
.subscribe h2,
.seo-copy h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.3;
}

.text-link {
    color: #b5473c;
    font-size: 14px;
    font-weight: 700;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.five-grid {
    grid-template-columns: repeat(3, 1fr);
}

.video-card {
    display: flex;
    min-width: 0;
    min-height: 375px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--paper);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eadbd3;
}

.cover img {
    transition: transform 0.35s ease;
}

.video-card:hover .cover img {
    transform: scale(1.04);
}

.duration,
.play {
    position: absolute;
    color: white;
}

.duration {
    right: 10px;
    bottom: 9px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.66);
    font-size: 11px;
}

.play {
    top: 50%;
    left: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(255, 118, 94, 0.86);
    transform: translate(-50%, -50%);
}

.card-copy {
    display: flex;
    min-height: 174px;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.card-copy h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
}

.card-copy h3 a:hover {
    color: #bd4c3e;
}

.card-copy > p:not(.card-label) {
    margin: 9px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.meta {
    margin-top: auto;
    color: #a89b94;
    font-size: 11px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 366px;
    margin-top: 74px;
    overflow: hidden;
    border-radius: 22px;
    background: #e5f5ef;
}

.feature-image {
    min-height: 366px;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 42px;
}

.feature-copy .button {
    margin-top: 12px;
}

.outline {
    background: transparent;
    color: #b5473c;
}

.quote-band {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 164px;
    margin-top: 74px;
    padding: 28px 9%;
    border-radius: 20px;
    background: #402c2d;
    color: #fff6ee;
}

.quote-band span {
    align-self: start;
    color: #ff9a86;
    font-family: Georgia, serif;
    font-size: 68px;
    line-height: 0.9;
}

.quote-band p {
    margin: 0;
    font-size: clamp(19px, 2.7vw, 28px);
    line-height: 1.5;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 74px;
}

.mini-feature {
    min-height: 280px;
    padding: 34px;
    border-radius: 20px;
}

.mini-feature > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    font-size: 23px;
}

.mini-feature h2 {
    margin-top: 12px;
}

.mini-feature p:not(.eyebrow) {
    max-width: 400px;
}

.mini-feature a {
    display: inline-block;
    margin-top: 4px;
    color: #9d4137;
    font-weight: 800;
}

.coral {
    background: var(--pink);
}

.mint {
    background: var(--mint);
}

.about {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 55px;
    margin-top: 74px;
    margin-bottom: 74px;
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about p {
    margin-top: 0;
}

.subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 260px;
    margin-top: 44px;
    margin-bottom: 44px;
    padding: 38px 8%;
    border-radius: 22px;
    background: var(--peach);
    color: white;
}

.subscribe .eyebrow,
.subscribe p {
    color: #fff4f0;
}

.subscribe h2 {
    max-width: 520px;
}

.subscribe .button.light {
    margin-top: 10px;
    border-color: white;
    background: white;
    color: #b54d3e;
}

.qr {
    display: grid;
    width: 132px;
    height: 132px;
    flex: 0 0 auto;
    place-items: center;
    border: 9px solid white;
    border-radius: 20px;
    background: repeating-linear-gradient(45deg, #522d30 0 8px, #fff 8px 15px);
    color: white;
    text-align: center;
}

.qr span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--peach);
    font-size: 24px;
    font-weight: 800;
}

.qr small {
    display: none;
}

.site-footer {
    padding: 38px 0;
    background: #2d2222;
    color: #d7c8c2;
}

.footer-grid {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    color: white;
}

.site-footer p {
    margin: 9px 0 0;
    font-size: 13px;
}

.page-hero {
    display: grid;
    min-height: 320px;
    grid-template-columns: 1.05fr 0.95fr;
    margin-top: 32px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--pink);
}

.page-hero > div {
    padding: 44px;
}

.page-hero > img {
    min-height: 320px;
}

.crumb {
    margin: 0 0 22px;
    color: #998a83;
    font-size: 13px;
}

.crumb a:hover {
    color: #b5473c;
}

.crumb span {
    margin: 0 8px;
}

.seo-copy {
    margin-top: 50px;
    margin-bottom: 74px;
    padding: 34px;
    border-radius: 18px;
    background: #fff0e9;
}

.seo-copy p {
    margin-bottom: 0;
}

.article {
    max-width: 820px;
    margin-top: 38px;
    margin-bottom: 74px;
}

.article h1 {
    font-size: clamp(30px, 4.5vw, 45px);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin: 18px 0 24px;
    color: #95847c;
    font-size: 13px;
}

.reading-note {
    margin: 25px 0;
    padding: 18px 21px;
    border-left: 4px solid var(--peach);
    border-radius: 0 12px 12px 0;
    background: #fff0ea;
}

.reading-note p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.article-cover {
    height: min(53vw, 440px);
    margin: 30px 0 38px;
    overflow: hidden;
    border-radius: 18px;
}

.article-body {
    font-size: 16px;
}

.article-body h2 {
    margin-top: 38px;
    font-size: 25px;
}

.article-body p {
    color: #554b47;
}

.article-body img {
    height: min(52vw, 390px);
    margin: 28px 0;
    border-radius: 14px;
}

.article-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    padding: 35px 20px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.article-end > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: #32765e;
    font-weight: 800;
}

.article-end p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .nav-wrap {
        min-height: 64px;
    }

    .brand {
        font-size: 16px;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
    }

    .nav-action {
        padding: 6px 8px;
        font-size: 11px;
    }

    .hero,
    .page-hero {
        margin-top: 20px;
    }

    .hero-slide,
    .feature-row,
    .page-hero {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        min-height: 0;
    }

    .hero-copy,
    .feature-copy,
    .page-hero > div {
        padding: 30px 24px;
    }

    .hero-slide > img {
        min-height: 240px;
        max-height: 300px;
    }

    .page-hero > img {
        min-height: 220px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
    }

    .quick-link {
        min-height: 135px;
    }

    .section-block,
    .feature-row,
    .quote-band,
    .dual-grid,
    .about {
        margin-top: 50px;
    }

    .card-grid,
    .five-grid,
    .dual-grid,
    .about {
        grid-template-columns: 1fr;
    }

    .video-card {
        min-height: 0;
    }

    .feature-image {
        min-height: 240px;
    }

    .quote-band {
        padding: 24px;
    }

    .quote-band span {
        display: none;
    }

    .about {
        gap: 20px;
        margin-bottom: 50px;
    }

    .subscribe {
        min-height: 0;
        align-items: flex-start;
        margin-top: 28px;
        padding: 30px 24px;
    }

    .qr {
        width: 88px;
        height: 88px;
        border-width: 6px;
    }

    .qr span {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .article {
        margin-top: 26px;
        margin-bottom: 50px;
    }
}
