:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --ink: #172033;
    --muted: #647086;
    --line: #e5e9f2;
    --accent: #e64a35;
    --accent-dark: #b72f20;
    --soft: #fff3ef;
    --radius: 22px;
    --shadow: 0 18px 45px rgba(31, 45, 61, .08);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header, .site-footer { background: #ffffff; }
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar, .main-nav, .search-strip, main, .footer-grid, .copyright { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 12px; gap: 18px; }
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .3px; }
.logo img, .footer-logo img { width: 42px; height: 42px; border-radius: 12px; }
.domain-pill { margin: 0; color: var(--muted); font-size: 14px; }
.domain-pill strong { color: var(--accent-dark); }
.main-nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 14px; }
.main-nav a { padding: 9px 13px; border-radius: 999px; background: #f2f4f8; color: #2d394f; font-weight: 700; font-size: 14px; }
.main-nav a:hover { background: var(--soft); color: var(--accent-dark); }
.search-strip { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: start; padding: 0 0 16px; }
.search-strip label { font-weight: 800; padding-top: 7px; }
.fake-search { display: flex; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; }
.fake-search input { flex: 1; border: 0; padding: 12px 14px; outline: none; font-size: 15px; }
.fake-search button, .demo-form button { border: 0; background: var(--accent); color: white; font-weight: 800; padding: 0 18px; cursor: pointer; }
.search-note { grid-column: 2; margin: -4px 0 0; color: var(--muted); font-size: 13px; }
main { padding: 28px 0 44px; }
.hero, .page-hero { background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding: 34px; }
.hero h1, .page-hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; margin: 8px 0 16px; }
.hero-copy p, .page-hero p { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--accent-dark); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.hero-media img, .article-cover img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }
figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 800; background: #fff; }
.btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
.meta-list { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 14px 0 0; color: var(--muted); }
.meta-list.small { font-size: 14px; }
.ticker { margin: 22px 0; background: #172033; color: white; border-radius: 18px; padding: 12px 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.ticker span { color: #dfe6f3; }
.section-grid { display: grid; gap: 20px; margin: 22px 0; }
.two-columns { grid-template-columns: 1.1fr .9fr; }
.three-columns { grid-template-columns: repeat(3, 1fr); }
.panel, .latest-list, .content-section, .article-layout, .contact-panel, .card-list article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.panel h2, .latest-list h2, .content-section h2 { margin-top: 0; }
.latest-list { display: grid; gap: 14px; }
.latest-list a, .related-box a, .card-list a { display: block; padding: 12px; border-radius: 14px; background: #f8fafc; }
.latest-list span { display: inline-block; margin-right: 8px; color: var(--accent-dark); font-weight: 900; }
.content-section { margin: 22px 0; }
.section-heading { margin-bottom: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-frame { position: relative; background: #111827; aspect-ratio: 16/10; overflow: hidden; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111827; }
.play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%) scale(.86); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--accent-dark); display: grid; place-items: center; font-size: 24px; opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.video-card:hover .play-button, .video-card.is-hover .play-button { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-body { padding: 18px; }
.video-body h3, .video-body h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag-row span { background: var(--soft); color: var(--accent-dark); padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.stats { color: var(--muted); font-size: 14px; }
.author-grid, .comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.author-grid article, .comment-grid blockquote { background: #f8fafc; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 0; }
.author-grid h3, .author-grid h2 { margin: 0 0 8px; }
.author-grid span, cite { color: var(--muted); font-size: 14px; font-style: normal; }
details { background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 900; }
.contact-callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(135deg, #172033 0%, #30405f 100%); color: white; }
.contact-callout p { color: #dfe6f3; }
.page-hero { padding: 34px; margin-bottom: 22px; }
.article-layout { max-width: 960px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); margin-bottom: 18px; }
.article-header h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.1; margin: 10px 0 16px; }
.article-content { font-size: 17px; }
.article-content h2 { margin-top: 28px; }
.article-content.narrow { max-width: 900px; }
.related-box { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #f8fafc; }
.related-box a { margin: 8px 0; }
.article-tags { margin-top: 20px; }
.card-list { display: grid; gap: 16px; }
.contact-panel ul { margin-top: 0; }
.demo-form { display: grid; gap: 14px; margin-top: 18px; }
.demo-form label { display: grid; gap: 6px; font-weight: 800; }
.demo-form input, .demo-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; font: inherit; }
.demo-form textarea { min-height: 120px; resize: vertical; }
.demo-form button { border-radius: 999px; padding: 12px 18px; width: max-content; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 24px; }
.footer-grid section { display: grid; gap: 8px; align-content: start; }
.footer-grid h2 { margin: 0 0 6px; font-size: 18px; }
.copyright { color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; font-size: 14px; }
@media (max-width: 900px) {
    .news-hero, .two-columns, .three-columns, .video-grid, .author-grid, .comment-grid, .footer-grid { grid-template-columns: 1fr; }
    .search-strip { grid-template-columns: 1fr; }
    .search-note { grid-column: 1; }
    .contact-callout { align-items: flex-start; flex-direction: column; }
    .topbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
    .topbar, .main-nav, .search-strip, main, .footer-grid, .copyright { width: min(100% - 22px, 1180px); }
    .news-hero, .page-hero, .panel, .latest-list, .content-section, .article-layout, .contact-panel { padding: 18px; border-radius: 18px; }
    .fake-search { flex-direction: column; }
    .fake-search button { padding: 11px; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
}
