:root {
    --bg: #fff8f2;
    --card: #ffffff;
    --text: #1d2533;
    --muted: #667085;
    --line: #eadfd6;
    --brand: #e75f35;
    --brand-dark: #29395d;
    --soft: #fff1df;
    --shadow: 0 18px 45px rgba(29,37,51,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,248,242,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-top, .main-nav, .search-box, main, .site-footer .footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 10px;
    gap: 16px;
}
.logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--brand-dark);
}
.logo img, .footer-logo img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}
.logo span { font-size: 24px; letter-spacing: .04em; }
.host-pill {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: var(--muted);
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 0 12px;
}
.main-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand-dark);
    font-weight: 700;
}
.main-nav a:hover { border-color: var(--brand); color: var(--brand); }
.search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 0 16px;
}
.search-box input {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 16px;
    font-size: 16px;
    outline: none;
    background: #fff;
}
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(231,95,53,.12); }
button, .btn-primary, .btn-secondary {
    border: 0;
    border-radius: 16px;
    padding: 13px 18px;
    font-weight: 800;
    cursor: pointer;
}
.search-box button, .btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(231,95,53,.24);
}
.btn-secondary {
    background: #fff;
    color: var(--brand-dark);
    border: 1px solid var(--line);
}
.search-notice {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
main { padding: 28px 0 56px; }
.hero {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 34px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #fff1df 100%);
    box-shadow: var(--shadow);
}
.eyebrow {
    margin: 0 0 8px;
    color: var(--brand);
    font-weight: 900;
    letter-spacing: .08em;
}
h1, h2, h3 { line-height: 1.2; color: var(--brand-dark); }
h1 { font-size: clamp(34px, 5vw, 58px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 10px; }
.hero p { font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
}
.stats div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
}
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd { margin: 0; font-size: 22px; font-weight: 900; color: var(--brand-dark); }
.hero-media, .topic-band figure, .content-card { margin: 0; }
.hero-media img, .topic-band img, .content-card img, .author-card img {
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--shadow);
}
figcaption, .image-desc {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}
.section {
    margin-top: 42px;
    padding: 34px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
}
.section.alt { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 22px; }
.section-head p { color: var(--muted); }
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.video-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(29,37,51,.06);
}
.video-card-large { grid-column: span 1; }
.video-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101828;
}
.video-cover video { width: 100%; height: 100%; object-fit: cover; }
.video-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.25));
    opacity: .9;
}
.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(.92);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.92);
    color: var(--brand);
    font-weight: 900;
    transition: transform .2s ease, background .2s ease;
}
.video-cover:hover .play-button { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-badge {
    position: absolute;
    z-index: 3;
    left: 14px;
    top: 14px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 900;
    font-size: 13px;
}
.video-info { padding: 20px; }
.video-info p { color: var(--muted); margin: 0 0 12px; }
.video-info h2 { font-size: 22px; margin: 0 0 10px; }
.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.meta-line span {
    background: var(--soft);
    color: var(--brand-dark);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 13px;
    font-weight: 800;
}
.meta-line.large span { font-size: 15px; padding: 8px 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span {
    color: var(--muted);
    background: #f6f7f9;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 13px;
}
.feature-grid, .author-grid, .comment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.feature-card, .author-card, .comment-card, .content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
}
.topic-band {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px;
    align-items: center;
}
.text-link { color: var(--brand); font-weight: 900; }
.rank-list { display: grid; gap: 10px; }
.rank-list a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 15px 18px;
}
.rank-list span {
    color: var(--brand);
    font-weight: 900;
    font-size: 20px;
}
.rank-list em { color: var(--muted); font-style: normal; font-size: 14px; }
.rank-list.compact a { grid-template-columns: 1fr auto; }
.author-card img { aspect-ratio: 16/9; object-fit: cover; margin-bottom: 16px; }
.role { color: var(--brand); font-weight: 800; }
.faq-list { display: grid; gap: 12px; }
details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
}
summary { cursor: pointer; font-weight: 900; color: var(--brand-dark); }
.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--brand-dark);
    color: #fff;
}
.contact-cta h2, .contact-cta .eyebrow { color: #fff; }
.contact-cta p { color: rgba(255,255,255,.82); }
.page .page-hero {
    padding: 36px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
}
.breadcrumb a { color: var(--brand); font-weight: 800; }
.article-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow);
}
.article-header .subtitle { font-size: 20px; color: var(--muted); }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}
.article-cover { margin: 26px 0; }
.video-cover-wide { border-radius: 26px; }
.article-content {
    font-size: 18px;
    max-width: 860px;
}
.author-note, .related, .share-box {
    margin-top: 28px;
    padding: 22px;
    border-radius: 22px;
    background: var(--soft);
}
.share-box button {
    background: var(--brand-dark);
    color: #fff;
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.check-list li { margin-bottom: 10px; }
.site-footer {
    background: #172033;
    color: #d0d5dd;
    padding: 42px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
}
.footer-logo span, .site-footer h2 { color: #fff; }
.footer-logo img { width: 42px; height: 42px; }
.site-footer ul { margin: 0; padding-left: 18px; }
.site-footer a { color: #fff; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
@media (max-width: 900px) {
    .hero, .topic-band, .two-col { grid-template-columns: 1fr; padding: 24px; }
    .video-grid, .feature-grid, .author-grid, .comment-grid { grid-template-columns: 1fr; }
    .rank-list a { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .header-top { align-items: flex-start; flex-direction: column; }
    .search-box { grid-template-columns: 1fr; }
    .section, .article-shell { padding: 22px; border-radius: 22px; }
    h1 { font-size: 32px; }
}
