:root {
    --brand: #2F7D6D;
    --brand-dark: #245f54;
    --berry: #E88AAE;
    --ink: #1F2A2E;
    --text: #2A3133;
    --muted: #6F787A;
    --accent: #F29A3F;
    --paper: #FAFBF8;
    --soft: #F2F5F1;
    --line: #DCE4DE;
    --white: #FFFFFF;
    --shadow: 0 18px 60px rgba(31, 42, 46, .08);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shell: min(1180px, calc(100vw - 40px));
    --header-height: 78px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(242, 154, 63, .8); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,251,248,.94); border-bottom: 1px solid rgba(220,228,222,.85); backdrop-filter: blur(14px); }
.site-header__inner { min-height: var(--header-height); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 205px; }
.brand-lockup img { width: 48px; height: 48px; object-fit: contain; border-radius: 14px; }
.brand-lockup__text { display: grid; line-height: 1.1; gap: 5px; }
.brand-lockup__text strong { font-size: 1.05rem; color: var(--ink); letter-spacing: .02em; }
.brand-lockup__text small { color: var(--muted); font-size: .72rem; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 4px; }
.desktop-nav a { padding: 10px 13px; border-radius: 999px; color: #425053; font-size: .93rem; transition: background .2s ease, color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--soft); color: var(--brand-dark); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.search-open, .menu-button { border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); padding: 9px 14px; cursor: pointer; }
.menu-button { display: none; }
.mobile-menu { padding-bottom: 16px; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a { padding: 12px 14px; background: var(--soft); border-radius: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 5px rgba(242,154,63,.12); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 56px; align-items: center; min-height: 670px; padding-block: 64px 72px; }
.hero__copy h1, .channel-hero h1, .community-hero h1, .article-header h1, .search-page h1, .not-found h1 { color: var(--ink); font-size: clamp(2.35rem, 5vw, 4.65rem); line-height: 1.08; letter-spacing: -.045em; margin: 16px 0 22px; }
.hero__copy p { max-width: 690px; font-size: 1.07rem; color: #536064; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: .92rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--brand); color: var(--white); box-shadow: 0 12px 28px rgba(47,125,109,.2); }
.button--primary:hover { background: var(--brand-dark); }
.button--ghost { border: 1px solid var(--line); background: rgba(255,255,255,.72); color: var(--ink); }
.button--secondary { background: var(--ink); color: var(--white); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.topic-chips a { background: var(--soft); border: 1px solid transparent; color: #4b585b; padding: 7px 12px; border-radius: 999px; font-size: .84rem; }
.topic-chips a:hover { border-color: #bfd0c8; background: var(--white); }
.hero__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); min-height: 510px; }
.hero__visual img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; }
.hero__visual::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(to top, rgba(22,31,34,.82), rgba(22,31,34,0)); }
.hero__caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; color: var(--white); display: grid; gap: 7px; }
.hero__caption span { color: #d8ede7; font-size: .79rem; font-weight: 800; }
.hero__caption strong { font-size: 1.25rem; line-height: 1.35; }

.section-block { padding-block: 74px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-heading--compact { margin-bottom: 20px; }
.section-heading h2, .feed-band h2, .side-panel h2, .mobile-promo h2, .channel-note h2, .feature-columns h2, .app-status h2, .article-aside h2, .search-suggestions h2, .search-results h2, .empty-state h2 { margin: 7px 0 0; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.18; letter-spacing: -.028em; }
.text-link { color: var(--brand-dark); font-weight: 800; font-size: .92rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.story-card { grid-column: span 4; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(31,42,46,.08); }
.story-card--lead { grid-column: span 8; display: grid; grid-template-columns: 1.15fr .85fr; }
.story-card--wide { grid-column: span 8; display: grid; grid-template-columns: 1fr 1fr; }
.story-card--video { grid-column: span 3; }
.story-card__media { display: block; background: var(--soft); min-height: 210px; }
.story-card__media img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .3s ease; }
.story-card:hover .story-card__media img { transform: scale(1.015); }
.story-card--lead .story-card__media img, .story-card--wide .story-card__media img { min-height: 100%; }
.story-card__body { padding: 20px; }
.story-card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--brand-dark); font-size: .73rem; font-weight: 800; }
.story-card__meta span + span::before { content: "·"; margin-right: 8px; color: #9fb2aa; }
.story-card h3 { margin: 10px 0 9px; color: var(--ink); font-size: 1.08rem; line-height: 1.45; }
.story-card--lead h3, .story-card--wide h3 { font-size: clamp(1.28rem, 2.2vw, 1.78rem); }
.story-card p { margin: 0 0 13px; color: var(--muted); font-size: .91rem; }
.story-card--lead .story-card__body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }

.feed-band { background: var(--soft); border-block: 1px solid var(--line); padding-block: 74px; }
.feed-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 42px; align-items: start; }
.news-stream { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--line); overflow: hidden; }
.compact-item { padding: 20px 22px; border-bottom: 1px solid #e7ece8; display: grid; gap: 8px; }
.compact-item:last-child { border-bottom: 0; }
.compact-item > div { display: flex; align-items: baseline; gap: 14px; }
.compact-item a { color: var(--ink); font-weight: 800; line-height: 1.45; }
.compact-item a:hover { color: var(--brand-dark); }
.compact-item p { margin: 0; color: var(--muted); font-size: .88rem; }
.side-panel { position: sticky; top: calc(var(--header-height) + 24px); background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.side-panel .eyebrow { color: #d8ede7; }
.side-panel h2 { color: var(--white); }
.side-panel > p { color: #bdc9ca; font-size: .93rem; }
.side-link { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.side-link strong { font-size: .93rem; line-height: 1.35; }
.side-link span { color: #aebabb; font-size: .79rem; line-height: 1.5; }
.side-panel .button { margin-top: 18px; background: var(--accent); color: #2b2117; }
.video-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.mobile-promo { display: grid; grid-template-columns: 1fr 440px; gap: 54px; align-items: center; padding: 54px; margin-block: 18px 90px; background: linear-gradient(135deg, #f4f8f5 0%, #fff8f4 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mobile-promo p { color: var(--muted); max-width: 650px; }
.mobile-promo img { border-radius: 24px; width: 100%; max-height: 350px; object-fit: cover; }

.channel-hero { display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 54px; padding-block: 70px 56px; }
.channel-hero h1 { font-size: clamp(2.3rem, 4.7vw, 4.1rem); }
.channel-hero p { color: var(--muted); font-size: 1.03rem; max-width: 720px; }
.channel-hero > img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.inline-search { display: flex; max-width: 560px; margin-top: 26px; background: var(--white); border: 1px solid var(--line); padding: 6px; border-radius: 999px; }
.inline-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 14px; background: transparent; }
.inline-search button { border: 0; background: var(--brand); color: white; border-radius: 999px; padding: 9px 17px; font-weight: 800; cursor: pointer; }
.count-badge { background: var(--soft); color: var(--muted); padding: 7px 11px; border-radius: 999px; font-size: .78rem; }
.channel-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.channel-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px; margin-bottom: 86px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.channel-note__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.channel-note__links a { background: var(--soft); color: var(--brand-dark); border-radius: 999px; padding: 9px 13px; font-weight: 800; font-size: .85rem; }

.community-hero { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; padding-block: 72px; }
.community-hero h1 { font-size: clamp(2.35rem, 4.8vw, 4.2rem); }
.community-hero p { color: var(--muted); max-width: 700px; }
.community-hero img { border-radius: var(--radius-lg); width: 100%; height: 430px; object-fit: cover; }
.feature-columns { padding-block: 38px 72px; }
.feature-columns__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-columns article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.feature-columns strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 8px; }
.feature-columns p { margin: 0; color: var(--muted); font-size: .9rem; }
.app-status { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: center; margin-block: 24px 88px; background: var(--soft); border-radius: var(--radius-lg); overflow: hidden; padding: 30px; }
.app-status img { width: 100%; height: 300px; object-fit: cover; border-radius: 20px; }
.app-status p { color: var(--muted); }

.article-page { padding-block: 56px 88px; }
.article-header { max-width: 920px; margin-inline: auto; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .82rem; margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--brand-dark); }
.article-header h1 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); }
.article-deck { color: #536064; font-size: 1.08rem; max-width: 800px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--soft); color: var(--brand-dark); padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.article-hero-image { margin: 42px 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.article-hero-image img { width: 100%; height: 560px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 1fr); gap: 64px; align-items: start; max-width: 1080px; margin-inline: auto; }
.article-body { font-size: 1.04rem; color: #394447; }
.article-body p { margin: 0 0 1.4em; }
.article-body h2 { color: var(--ink); font-size: 1.5rem; line-height: 1.3; margin: 2.2em 0 .8em; }
.article-note { margin-top: 34px; padding: 22px; border-left: 4px solid var(--accent); background: #fff8f1; border-radius: 0 14px 14px 0; }
.article-note strong { color: var(--ink); }
.article-note p { margin: 7px 0 0; font-size: .93rem; color: #685949; }
.article-aside { position: sticky; top: calc(var(--header-height) + 24px); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: var(--white); }
.article-aside h2 { font-size: 1.35rem; }
.article-aside a { display: grid; gap: 5px; padding: 15px 0; border-top: 1px solid #e8edea; }
.article-aside strong { color: var(--ink); font-size: .9rem; line-height: 1.4; }
.article-aside span { color: var(--muted); font-size: .78rem; line-height: 1.5; }

.search-page { padding-block: 70px 90px; }
.search-page h1 { font-size: clamp(2.1rem, 4.5vw, 3.9rem); max-width: 920px; }
.search-form { max-width: 860px; margin-top: 26px; }
.search-form > label { display: block; color: var(--ink); font-weight: 800; margin-bottom: 8px; }
.search-form__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-form input { width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 13px 15px; outline: none; }
.search-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,125,109,.1); }
.search-form button { border: 0; border-radius: 14px; background: var(--brand); color: white; padding: 12px 22px; font-weight: 800; cursor: pointer; }
.search-suggestions, .empty-state, .search-results { margin-top: 48px; }
.empty-state { background: var(--soft); border-radius: var(--radius-lg); padding: 34px; max-width: 780px; }
.empty-state p { color: var(--muted); }

.not-found { min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 70px; }
.not-found h1 { max-width: 780px; }
.not-found p { max-width: 680px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #eef3ef; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 44px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-brand { color: var(--ink); font-size: 1.18rem; }
.footer-grid p { color: var(--muted); max-width: 560px; margin: 8px 0 0; font-size: .9rem; }
.footer-grid h2 { color: var(--ink); font-size: .9rem; margin: 0 0 7px; }
.footer-grid a { color: #526063; font-size: .84rem; }
.footer-grid a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #d4ddd6; color: var(--muted); font-size: .78rem; }

@media (max-width: 1060px) {
    :root { --shell: min(100% - 32px, 920px); }
    .desktop-nav { display: none; }
    .site-header__inner { grid-template-columns: 1fr auto; }
    .menu-button { display: inline-flex; }
    .hero { grid-template-columns: 1fr; min-height: auto; gap: 34px; padding-block: 50px; }
    .hero__visual { min-height: 420px; }
    .hero__visual img { min-height: 420px; }
    .featured-grid .story-card { grid-column: span 6; }
    .featured-grid .story-card--lead { grid-column: span 12; }
    .story-card--lead { grid-template-columns: 1fr 1fr; }
    .feed-layout { grid-template-columns: 1fr; }
    .side-panel, .article-aside { position: static; }
    .video-row .story-card { grid-column: span 6; }
    .mobile-promo, .community-hero, .app-status, .channel-hero { grid-template-columns: 1fr; }
    .mobile-promo { padding: 36px; }
    .channel-hero > img, .community-hero img { height: 360px; }
    .channel-grid .story-card { grid-column: span 6; }
    .channel-grid .story-card--wide { grid-column: span 12; }
    .article-layout { grid-template-columns: 1fr; gap: 34px; }
    .article-hero-image img { height: 480px; }
}

@media (max-width: 720px) {
    :root { --shell: calc(100% - 24px); --header-height: 68px; }
    .brand-lockup { min-width: 0; }
    .brand-lockup img { width: 42px; height: 42px; }
    .brand-lockup__text small { display: none; }
    .search-open { display: none; }
    .site-header__inner { gap: 12px; }
    .hero { padding-block: 38px 46px; }
    .hero__copy h1, .channel-hero h1, .community-hero h1, .article-header h1, .search-page h1, .not-found h1 { font-size: clamp(2rem, 11vw, 3rem); }
    .hero__visual, .hero__visual img { min-height: 330px; }
    .hero__caption { left: 18px; right: 18px; bottom: 18px; }
    .hero__actions .button { width: 100%; }
    .section-block, .feed-band { padding-block: 52px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .featured-grid, .video-row, .channel-grid { grid-template-columns: 1fr; }
    .featured-grid .story-card, .featured-grid .story-card--lead, .video-row .story-card, .channel-grid .story-card, .channel-grid .story-card--wide { grid-column: auto; }
    .story-card--lead, .story-card--wide { display: block; }
    .story-card__media img { min-height: 230px; max-height: 310px; }
    .story-card--lead .story-card__body { padding: 22px; }
    .compact-item > div { align-items: flex-start; flex-direction: column; gap: 5px; }
    .side-panel { padding: 22px; border-radius: 22px; }
    .mobile-promo { grid-template-columns: 1fr; padding: 24px; margin-bottom: 60px; }
    .mobile-promo img { max-height: 270px; }
    .channel-hero, .community-hero { gap: 28px; padding-block: 46px 36px; }
    .channel-hero > img, .community-hero img { height: 280px; }
    .inline-search { border-radius: 16px; }
    .inline-search button { border-radius: 12px; }
    .channel-note { align-items: flex-start; flex-direction: column; margin-bottom: 60px; }
    .channel-note__links { justify-content: flex-start; }
    .feature-columns { padding-bottom: 50px; }
    .feature-columns__grid { grid-template-columns: 1fr; }
    .app-status { padding: 22px; gap: 26px; margin-bottom: 62px; }
    .app-status img { height: 250px; }
    .article-page { padding-top: 34px; }
    .article-hero-image { margin: 30px 0; border-radius: 20px; }
    .article-hero-image img { height: 340px; }
    .article-body { font-size: 1rem; }
    .search-form__row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
    .topic-chips { gap: 6px; }
    .topic-chips a { font-size: .78rem; }
    .story-card__body { padding: 18px; }
    .article-hero-image img { height: 270px; }
    .channel-hero > img, .community-hero img { height: 240px; }
    .mobile-menu { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
