/* BeefTV marketing system. Home opts in; account UI remains independent. */
.brand-home {
  --ui-bg:#050505; --ui-surface:#101010; --ui-elevated:#171717;
  --ui-text:#f1f1f1; --ui-muted:#a0a0a0; --ui-line:rgba(255,255,255,.1);
  --ui-font:Inter,"Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --ui-display:52px; --ui-heading:40px; --ui-body:18px; --ui-label:14px;
  --ui-gutter:40px; --ui-width:1500px; --ui-section:140px;
  --ui-radius:16px; --ui-panel-radius:24px; --ui-panel-padding:48px; --ui-control-radius:8px;
  --ui-fast:200ms; --ui-reveal:400ms; --ui-stage:1000ms;
  --ui-ease:cubic-bezier(.16,1,.3,1);
  font-family:var(--ui-font); background:var(--ui-bg); color:var(--ui-text);
}
.brand-home .home-shell,.brand-home .section-shell { width:100%; max-width:var(--ui-width); padding-inline:var(--ui-gutter); margin-inline:auto; }
.brand-home .home-header { height:64px; position:fixed; padding-inline:max(var(--ui-gutter),calc((100vw - var(--ui-width))/2 + var(--ui-gutter))); background:linear-gradient(#050505f5,#050505db 65%,#05050500); gap:24px; }
.brand-home .brand img { width:30px; }
.brand-home .brand>span:not(.text-flow):not(.text-unit) { font-size:23px; }
.brand-home .home-header .header-actions { gap:16px; margin-left:auto; }
.home-nav { position:absolute; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:28px; }
.nav-toggle { display:none; border:0; background:transparent; color:var(--ui-text); padding:10px; }
.nav-toggle svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; }
.brand-home .header-link { font-family:var(--ui-font); color:var(--ui-muted); font-size:14px; transition:color var(--ui-fast); }
.brand-home .header-link:hover { color:var(--ui-text); }
.brand-home .home-header .start-using { min-height:32px; padding-inline:14px; font-size:14px; font-weight:400; border-radius:8px; margin-left:12px; }
.brand-home .home-header .header-download { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:0 14px; border:1px solid #ffffff26; border-radius:8px; color:var(--ui-text); transition:background var(--ui-fast),border-color var(--ui-fast); }
.brand-home .home-header .header-download:hover { background:#ffffff14; border-color:#ffffff40; }
.brand-home .button:hover { transform:none; box-shadow:none; }
.home-hero { padding-top:160px; }
.home-intro h1 { font-size:var(--ui-display); font-weight:500; line-height:1.12; letter-spacing:-.03em; }
.home-lead { max-width:620px; margin-top:28px; font-size:var(--ui-body); font-weight:400; line-height:1.7; color:var(--ui-muted); }
.home-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.ui-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:40px; padding:0 16px; border:1px solid transparent; border-radius:var(--ui-control-radius); background:var(--ui-text); color:var(--ui-bg); font:400 16px/1.4 var(--ui-font); white-space:nowrap; transition:background var(--ui-fast),border-color var(--ui-fast),color var(--ui-fast); }
.ui-button:hover { background:#dcdcdc; }
.ui-button-secondary { background:transparent; color:var(--ui-text); border-color:#ffffff26; }
.ui-button-secondary:hover { background:#ffffff14; border-color:#ffffff40; }
.ui-button:active { background:#c7c7c7; }
.ui-button-secondary:active { background:#ffffff22; }
.ui-button:disabled { opacity:.4; cursor:not-allowed; }
.home-stage { position:relative; margin-top:80px; padding:0; }
.brand-home .demo-player { max-width:1280px; margin:auto; border:0; border-radius:var(--ui-radius); background:transparent; box-shadow:none; }
.home-section { margin-top:var(--ui-section); }
.home-section-heading { margin-bottom:64px; max-width:720px; }
.home-label { color:var(--ui-muted); font-size:var(--ui-label); line-height:1.6; margin-bottom:20px; }
.home-section-heading h2 { font-size:var(--ui-heading); font-weight:500; letter-spacing:-.025em; line-height:1.25; text-wrap:balance; }
.home-section-heading>p:last-child:not(:first-child) { color:var(--ui-muted); max-width:590px; margin-top:24px; font-size:18px; line-height:1.7; }
.home-feature { display:grid; grid-template-columns:40fr 60fr; gap:48px; align-items:center; padding:var(--ui-panel-padding); background:var(--ui-surface); border-radius:var(--ui-panel-radius); margin-top:32px; overflow:hidden; }
.home-feature h3 { font-size:32px; font-weight:500; line-height:1.3; letter-spacing:-.02em; margin-bottom:24px; }
.home-feature-copy>p:not(.home-label) { font-size:16px; color:var(--ui-muted); line-height:1.85; max-width:400px; }

.home-visual { overflow:hidden; border-radius:12px; border:0; background:transparent; }
.home-visual img { display:block; width:100%; height:auto; }

.home-feature-reverse { grid-template-columns:60fr 40fr; }
.home-feature-reverse .home-visual { order:-1; }
.home-link { display:inline-block; color:var(--ui-text); font-size:14px; margin-top:28px; padding-block:8px; }


.home-principles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.home-principles article { min-width:0; }
.home-principles article+article { border-left:1px solid var(--ui-line); padding-left:32px; }
.home-principles article>span:not(.text-flow):not(.text-unit) { font-size:13px; color:#777; }
.home-principles h3 { font-size:22px; font-weight:500; margin-top:0; text-align:center; }
.home-principles p { font-size:16px; line-height:1.8; color:var(--ui-muted); margin:16px auto 0; max-width:350px; text-align:center; text-wrap:balance; }
.home-principles .principle-line { display:block; text-wrap:balance; }
.brand-home .download-main { margin-top:32px; padding-block:0; border:0; }
.brand-home .section-title-wrap { text-align:left; margin-bottom:40px; }
.brand-home .section-title { text-align:left; font:500 40px/1.25 var(--ui-font); letter-spacing:-.025em; }
.brand-home .section-title>span:not(.text-flow):not(.text-unit):last-child { color:inherit; }
.brand-home .release-bar { justify-content:flex-end; margin-bottom:24px; }
.brand-home .download-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:48px; row-gap:0; }
.brand-home .download-card { display:grid; grid-template-columns:1fr auto; align-items:center; gap:20px; min-width:0; padding:28px 0; background:none; border:0; border-top:1px solid var(--ui-line); border-radius:0; box-shadow:none; }
.brand-home .download-platform { min-width:0; }
.brand-home .download-card h3 { font:500 22px/1.4 var(--ui-font); letter-spacing:0; }
.brand-home .architecture { font-size:14px; white-space:normal; margin-top:6px; }
.brand-home .architecture>span:not(.text-flow):not(.text-unit) { display:block; font-size:13px; }
.brand-home .architecture>span:not(.text-flow):not(.text-unit)::before { content:none; }
.brand-home .package-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin:0; grid-column:auto; }
.brand-home .package-actions .button { width:auto; min-height:40px; padding:0 14px; border-radius:8px; font:400 14px/1.4 var(--ui-font); justify-content:center; }
.brand-home .package-actions :is(.package-zip,.package-mirror) { padding:0; border:0; background:none; color:var(--ui-muted); min-height:40px; font:400 14px/1.4 var(--ui-font); text-decoration:none; }
.brand-home .package-actions :is(.package-zip,.package-mirror):hover { color:var(--ui-text); }
.brand-home .package-actions .package-mirror[hidden] { display:none; }
.brand-home .download-card>.linux-install-link { position:static; grid-column:1/-1; font-size:13px; margin-top:-8px; }
.brand-home .chip-help { margin-top:20px; font-size:13px; }
.home-disclosure { border-bottom:1px solid var(--ui-line); margin-top:24px; }
.home-disclosure summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:64px; color:var(--ui-muted); cursor:pointer; font-size:14px; }
.home-disclosure summary::-webkit-details-marker { display:none; }
.home-disclosure summary::after { content:'+'; font-size:20px; font-weight:300; }
.home-disclosure[open] summary::after { content:'−'; }
.home-disclosure>p { max-width:760px; padding-bottom:24px; color:var(--ui-muted); font-size:14px; line-height:1.8; }
.brand-home .install-guide { margin-top:0; border-top:0; }
.brand-home .install-steps { padding:20px 0 32px; gap:40px; }
.brand-home .install-steps li { display:block; }
.brand-home .install-steps h3 { font-size:18px; font-weight:500; }
.brand-home .install-steps p { font-size:14px; }
.brand-home .install-steps .home-link { margin:0; padding:0; }
.brand-home .download-faq { margin:0; border-top:0; }
.brand-home .download-faq summary { min-height:64px; padding:0; align-items:center; line-height:24px; color:var(--ui-muted); }
.brand-home .contributors { margin-top:48px; padding-block:0; }
.brand-home .contributors .section-title { text-align:center; }
.brand-home .contributor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:800px; gap:32px; }
.brand-home .contributor-card { display:flex; flex-direction:column; align-items:center; min-height:360px; padding:48px 32px; border:1px solid var(--ui-line); border-radius:var(--ui-panel-radius); background:var(--ui-surface); text-align:center; }
.brand-home .contributor-avatar { width:112px; height:112px; }
.brand-home .contributor-card h3 { margin:28px 0 0; font-size:24px; }
.brand-home .contributor-links { margin-top:28px; gap:24px; }
.brand-home .contributor-links a { width:44px; height:44px; }
.brand-home .contributor-links svg { width:24px; height:24px; }
 .brand-home .site-footer { display:block; border:0; padding-block:48px 32px; }
.footer-top { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.footer-identity { display:flex; align-items:center; gap:64px; }
.brand-home .site-footer .brand { color:var(--ui-text); gap:10px; }
.brand-home .site-footer .brand img { width:38px; height:auto; }
.brand-home .site-footer .brand>span:not(.text-flow):not(.text-unit) { font-size:30px; font-weight:600; letter-spacing:-.04em; }
.brand-home .site-footer .footer-socials { display:flex; gap:8px; }
.footer-socials a { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; background:#303036; color:#f4f4f5; transition:background 200ms; }
.footer-socials a:hover { background:#484850; }
.footer-socials svg { width:17px; height:17px; fill:currentColor; }
.footer-back-top { display:flex; align-items:center; gap:8px; color:var(--ui-text); font-size:14px; font-weight:500; white-space:nowrap; }
.footer-back-top .footer-back-icon { display:grid; place-items:center; width:24px; height:24px; border-radius:8px; background:#303036; font-size:18px; }
.brand-home .site-footer .footer-links { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px 0; margin-top:48px; font-size:12px; color:var(--ui-muted); }
.footer-links>a,.footer-links>button { padding:0 12px; font:inherit; color:inherit; }
.footer-links>:not(:first-child) { border-left:1px solid var(--ui-line); }
.footer-links a:hover,.footer-links button:hover { color:var(--ui-text); }
@media(max-width:600px) {
 .footer-top { align-items:flex-start; gap:20px; }
 .footer-identity { flex-direction:column; align-items:flex-start; gap:20px; }
 .brand-home .site-footer .brand>span:not(.text-flow):not(.text-unit) { font-size:26px; }
 .brand-home .site-footer .footer-links { justify-content:flex-start; margin-top:32px; gap:12px 0; }
 .footer-links>a,.footer-links>button { padding-inline:10px; }
}
/* Product imagery stays static. */
.home-visual img { transform:none; }
/* All content is visible without JS. Motion only opts in after observers exist. */
.brand-home.motion-ready [data-enter] { opacity:0; transform:translateY(16px); transition:opacity var(--ui-reveal) ease-out var(--enter-delay,0ms),transform var(--ui-reveal) var(--ui-ease) var(--enter-delay,0ms); }
.brand-home.motion-ready [data-enter].entered { opacity:1; transform:none; }
.brand-home.motion-ready .home-stage[data-enter] { transform:translateY(30px); transition-duration:var(--ui-stage); transition-delay:300ms; }
.brand-home.motion-ready .home-stage[data-enter].entered { transform:none; }
@media(min-width:1600px) { .brand-home { --ui-section:160px; } }
@media(max-width:1023px) { .brand-home { --ui-section:100px; --ui-panel-padding:32px; } .home-feature { gap:28px; padding:32px; } .home-feature h3 { font-size:28px; }  }
@media(max-width:1023px) {
 .brand-home .home-header .header-download { display:none; }
 .nav-toggle { display:inline-flex; }
 .home-nav { display:none; left:0; right:0; top:64px; transform:none; padding:16px 24px 24px; background:var(--ui-bg); border-bottom:1px solid var(--ui-line); }
 .home-header[data-menu-open] .home-nav { display:flex; flex-direction:column; align-items:stretch; gap:4px; }
 .home-nav .header-link { min-height:44px; }
 .brand-home .download-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:767px) {
 .brand-home { --ui-gutter:20px; --ui-panel-padding:24px; --ui-panel-radius:16px; --ui-display:32px; --ui-heading:28px; --ui-body:15px; --ui-section:80px; }
 .brand-home .home-header { height:64px; padding-inline:20px; }
 .brand-home .home-header .header-actions { gap:16px; }
 .brand-home .home-header .start-using { min-height:40px; margin:0; padding-inline:12px; font-size:13px; }
 .brand-home .header-link { font-size:13px; }
 .home-hero { padding-top:112px; }
 .home-lead { margin-top:20px; }
 .home-actions { margin-top:24px; }
 .ui-button { min-height:44px; font-size:14px; }
 .home-stage { margin-top:40px; }
 .brand-home .demo-player { border-radius:8px; }
 .home-section-heading { margin-bottom:32px; }
 .home-section-heading>p:last-child:not(:first-child) { font-size:15px; }
 .home-feature,.home-feature-reverse { grid-template-columns:1fr; gap:28px; padding:24px; border-radius:16px; }
 .home-visual,.home-feature-reverse .home-visual { order:-1; }
 .home-feature h3 { font-size:26px; }
 .home-feature-copy>p:not(.home-label) { font-size:15px; }
 .home-principles { grid-template-columns:1fr; gap:32px; }
 .home-principles h3 { margin-top:0; }
 .home-principles article+article { border-left:0; padding-left:0; border-top:1px solid var(--ui-line); padding-top:24px; }
 .brand-home .section-title { font-size:28px; }
 .brand-home .download-main { padding-top:0; }
 .brand-home .download-grid { grid-template-columns:minmax(0,1fr); }
 .brand-home .download-card { min-width:0; padding:24px 0; }
 .brand-home .package-actions { gap:16px; }
 .brand-home .install-steps { grid-template-columns:1fr; gap:24px; }
 .brand-home .contributor-grid { gap:32px; }
 .brand-home .site-footer { flex-direction:column; align-items:flex-start; }
}
@media(max-width:380px) { .brand-home .home-header { padding-inline:16px; } .brand-home .home-header .header-actions { gap:12px; } }
@media(max-width:1023px) {
 html:not(.js) .brand-home .home-header { position:relative; flex-wrap:wrap; height:auto; padding-block:16px; }
 html:not(.js) .home-nav { display:flex; position:static; transform:none; flex-wrap:wrap; order:3; width:100%; padding:0; }
 html:not(.js) .nav-toggle { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .brand-home { scroll-behavior:auto; }
 .brand-home *, .brand-home *::before,.brand-home *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .brand-home.motion-ready [data-enter] { opacity:1; transform:none; }
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/inter-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/inter-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/inter-2.ttf) format('truetype');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/noto-sans-sc-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/noto-sans-sc-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/noto-sans-sc-2.ttf) format('truetype');
}
/* Download recommendation shares one model on home and /download/. */
.brand-home .download-main { padding-top:0; position:relative; }
.download-heading { text-align:center; max-width:1000px; margin-inline:auto; }
.download-heading :is(h1,h2) { font-size:clamp(28px,3.8vw,48px); line-height:1.2; font-weight:500; letter-spacing:-.035em; text-wrap:balance; }
.download-recommendation { display:flex; flex-direction:column; align-items:center; text-align:center; margin:80px auto 0; max-width:760px; }
.device-status { order:1; color:var(--ui-muted); font-size:14px; line-height:1.7; margin-bottom:20px; }
.download-action { display:inline-flex; min-height:64px; min-width:320px; max-width:100%; justify-content:center; align-items:center; padding:12px 40px; border:1px solid transparent; border-radius:999px; font-size:20px; line-height:1.4; font-weight:500; transition:background var(--ui-fast),border-color var(--ui-fast),color var(--ui-fast),transform var(--ui-fast) var(--ui-ease); }
.download-action:hover { transform:translateY(-2px); }
.download-action:active { transform:none; }
.recommended-download { order:2; background:var(--ui-text); color:var(--ui-bg); }
.recommended-download:hover { background:white; }
.download-action-secondary { background:transparent; border-color:#ffffff26; color:var(--ui-text); }
.download-action-secondary:hover { background:#ffffff14; border-color:#ffffff40; }
.recommended-meta { order:3; margin-top:16px; font-size:14px; color:var(--ui-muted); line-height:1.7; }
.download-guide { display:flex; justify-content:center; max-width:760px; margin:48px auto 64px; }
.download-alternatives { border-block:1px solid var(--ui-line); }
.download-alternatives>summary { list-style:none; display:flex; align-items:center; justify-content:space-between; min-height:64px; color:var(--ui-muted); font-size:14px; cursor:pointer; }
.download-alternatives>summary::-webkit-details-marker { display:none; }
.download-alternatives>summary::after { content:'+'; font-size:20px; font-weight:300; }
.download-alternatives[open]>summary::after { content:'−'; }
.brand-home .download-alternatives .release-bar { justify-content:flex-start; margin-top:20px; }
.brand-home.download-page .download-main { margin-top:0; padding-top:128px; padding-bottom:0; }
.brand-home.download-page .site-footer { margin-top:48px; }
@media(max-width:767px) {
 .brand-home .download-main { padding-top:0; }
 .download-recommendation { margin-top:48px; }
 .download-guide { margin:36px auto 48px; }
 .download-action { min-width:0; width:100%; min-height:56px; padding-inline:20px; font-size:18px; }
 .recommended-meta { font-size:13px; }
 .brand-home.download-page .download-main { padding-top:112px; }
 .brand-home .download-alternatives .release-bar { flex-wrap:wrap; gap:12px; }
}

html:not(.js) [data-download-recommendation] { display:none; }

.video-poster,.video-toolbar { display:none; }
.js .ambient-player .video-poster { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; opacity:1; transition:opacity 350ms; }
.js .ambient-player.video-ready .video-poster { opacity:0; }
.js .ambient-player .video-toolbar { position:absolute; right:16px; bottom:16px; z-index:3; display:flex; gap:6px; padding:6px; background:#111c; backdrop-filter:blur(12px); border:1px solid #ffffff20; border-radius:12px; }
.video-toolbar button { min-height:36px; padding:6px 12px; color:#fff; background:transparent; border:0; border-radius:7px; font:400 13px/1.4 var(--ui-font); cursor:pointer; }
.video-toolbar button:hover { background:#ffffff20; }
.js .ambient-player .video-start { z-index:2; }
@media(max-width:767px) { .js .ambient-player .video-toolbar { right:8px; bottom:8px; } .video-toolbar button { min-height:44px; padding-inline:10px; } }
@media(prefers-reduced-motion:reduce) { .js .ambient-player .video-poster { transition:none; } }

/* Editorial wrapping: phrases stay intact; lines remain responsive. */
.brand-home :is(h1,h2,h3,p,a,summary,button,label,figcaption) { word-break:normal; overflow-wrap:normal; line-break:strict; }
.brand-home :is(h1,h2,h3) { text-wrap:balance; }
.brand-home p { text-wrap:pretty; }
.brand-home .text-unit { display:inline; white-space:nowrap; }
.brand-home :is(.home-feature-copy,.home-principles article,.install-steps li) { min-width:0; }
.brand-home .install-steps p { overflow-wrap:normal; }
.brand-home .home-link { max-width:100%; }
.brand-home .architecture>.text-flow { display:inline; font-size:inherit; }
@media(max-width:380px) {
 .brand-home .download-card { grid-template-columns:minmax(0,1fr); gap:16px; }
 .brand-home .package-actions { flex-wrap:wrap; }
}

.product-navigation,.community-navigation { position:relative; }
:is(.product-navigation,.community-navigation)>summary { display:flex; align-items:center; gap:6px; list-style:none; cursor:pointer; white-space:nowrap; }
:is(.product-navigation,.community-navigation)>summary::-webkit-details-marker { display:none; }
.product-submenu { position:absolute; top:calc(100% + 16px); left:-16px; min-width:176px; padding:8px; border:1px solid var(--ui-line); border-radius:12px; background:#151515; box-shadow:0 12px 32px #0005; }
.product-submenu a { display:flex; align-items:center; min-height:44px; padding:10px 12px; border-radius:7px; font-size:14px; color:var(--ui-muted); white-space:nowrap; }
.product-submenu a:hover { color:var(--ui-text); background:#ffffff0a; }
.brand-home .home-nav>.header-link { white-space:nowrap; }
@media(max-width:1023px) { .product-submenu { position:static; margin-block:4px 8px; box-shadow:none; background:transparent; border:0; border-left:1px solid var(--ui-line); border-radius:0; padding:0 12px; } }

.brand-home .download-faq summary::after { content:"+"; font-size:20px; line-height:1; font-weight:300; flex-shrink:0; }
.brand-home .download-faq[open] summary::after { content:"−"; }

.community-submenu { position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%); width:256px; max-width:calc(100vw - 32px); padding:16px; border:1px solid var(--ui-line); border-radius:12px; background:#151515; box-shadow:0 12px 32px #0005; }
.community-submenu p { text-align:center; margin:0 0 12px; font-size:13px; line-height:1.7; color:var(--ui-muted); }
.community-submenu img { display:block; width:100%; height:auto; border-radius:8px; }
@media(max-width:1023px) {
 .home-header[data-menu-open] .home-nav { max-height:calc(100dvh - 64px); overflow-y:auto; }
 .community-submenu { position:static; transform:none; width:256px; max-width:100%; margin-block:4px 12px; box-shadow:none; }
}

.footer-wechat { position:relative; }
.footer-wechat summary { display:flex; align-items:center; justify-content:center; list-style:none; width:36px; height:36px; border-radius:10px; background:#303036; color:#f4f4f5; cursor:pointer; }
.footer-wechat summary::-webkit-details-marker { display:none; }
.footer-wechat summary:hover { background:#484850; }
.footer-wechat-panel { position:absolute; bottom:calc(100% + 12px); left:50%; transform:translateX(-50%); width:240px; max-width:calc(100vw - 32px); padding:16px; background:#151515; border:1px solid var(--ui-line); border-radius:12px; box-shadow:0 12px 32px #0005; z-index:10; }
.footer-wechat-panel p { margin:0 0 12px; text-align:center; font-size:13px; line-height:1.7; color:var(--ui-muted); }
.footer-wechat-panel img { width:100%; height:auto; display:block; border-radius:8px; }
@media(max-width:600px) { .footer-socials { position:relative; } .footer-wechat { position:static; } .footer-wechat-panel { left:0; right:auto; transform:none; } }

/* Shared surface rhythm across product, benefits, download and people. */
.home-panel { padding:var(--ui-panel-padding); border-radius:var(--ui-panel-radius); background:var(--ui-surface); }

/* Help uses the marketing shell and native disclosures; account styles stay separate. */
.guide-main { padding-top:160px; padding-bottom:64px; }
.guide-heading { margin-bottom:64px; }
.guide-heading h1 { font-size:var(--ui-display); font-weight:500; line-height:1.2; letter-spacing:-.03em; }
.guide-steps { display:grid; gap:32px; list-style:none; padding:0; margin:0; }
.guide-step { display:grid; grid-template-columns:minmax(200px,1fr) minmax(0,2fr); gap:64px; }
.guide-step-heading,.guide-step-body { min-width:0; }
.guide-step-number { display:block; margin-bottom:16px; font-size:14px; color:var(--ui-muted); font-variant-numeric:tabular-nums; }
.guide-step h2 { font-size:28px; line-height:1.3; font-weight:500; letter-spacing:-.02em; }
.guide-step-body { max-width:720px; font-size:16px; line-height:1.85; color:var(--ui-muted); }
.guide-step-body p+p { margin-top:16px; }
.guide-step-body>:is(.ui-button,.home-actions) { margin-top:32px; }
.guide-platforms { display:grid; gap:12px; list-style:none; margin:24px 0 0; padding:0; }
.guide-platforms li { display:grid; grid-template-columns:88px minmax(0,1fr); gap:16px; }
.guide-platforms strong,.guide-channels dt { color:var(--ui-text); font-weight:500; }
.guide-channels { display:grid; gap:24px; margin:24px 0 0; }
.guide-channels dd { margin:8px 0 0; }
.guide-questions { margin-top:var(--ui-section); }
.guide-faq .home-disclosure { margin:0; }
.guide-faq .home-disclosure:last-child { border-bottom:0; }
.guide-faq .home-disclosure summary { min-height:80px; font-size:18px; color:var(--ui-text); transition:color var(--ui-fast); }
.guide-faq .home-disclosure summary:hover { color:var(--ui-muted); }
.guide-faq .home-disclosure summary::after { flex:none; }
.guide-faq .home-disclosure summary>.text-flow { min-width:0; }
.guide-faq .home-disclosure>p,.guide-community { font-size:16px; line-height:1.85; color:var(--ui-muted); max-width:720px; padding-bottom:32px; }
.guide-faq p a { color:var(--ui-text); text-decoration:underline; text-underline-offset:4px; }
.guide-community figure { margin-top:24px; width:256px; max-width:100%; }
.guide-community img { width:100%; height:auto; border-radius:12px; }
.guide-community figcaption { margin-top:16px; text-align:center; font-size:14px; line-height:1.7; }
.help-page .header-link[aria-current="page"] { color:var(--ui-text); }
@media(max-width:1023px) {
 .guide-step { grid-template-columns:minmax(180px,1fr) minmax(0,2fr); gap:32px; }
}
@media(max-width:767px) {
 .guide-main { padding-top:112px; padding-bottom:32px; }
 .guide-heading { margin-bottom:40px; }
 .guide-steps { gap:24px; }
 .guide-step { grid-template-columns:minmax(0,1fr); gap:24px; }
 .guide-step-number { margin-bottom:12px; }
 .guide-step h2 { font-size:26px; }
 .guide-step-body,.guide-faq .home-disclosure>p,.guide-community { font-size:15px; }
 .guide-platforms li { grid-template-columns:minmax(0,1fr); gap:4px; }
 .guide-step-body>:is(.ui-button,.home-actions) { margin-top:24px; }
 .guide-faq .home-disclosure summary { min-height:72px; font-size:16px; }
}

/* Activities share the marketing shell, panel tokens and motion system. */
.activities-main { padding-top:144px; padding-bottom:64px; }
.activities-main .home-section-heading { margin-bottom:48px; }
.activities-main h1 { margin:0; font-size:clamp(36px,5vw,64px); font-weight:500; line-height:1.2; }
.activities-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; }
.activity-card { display:grid; grid-template-rows:subgrid; grid-row:span 3; gap:32px; min-width:0; }
.activity-card h2 { margin:0; font-size:32px; font-weight:500; line-height:1.4; }
.activity-card .ui-button { min-height:44px; }
.activity-facts { width:100%; margin:0; }
.activity-facts>div { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:76px; padding:16px 0; border-top:1px solid var(--ui-line); }
.activity-facts dt { flex-shrink:0; white-space:nowrap; font-size:16px; line-height:1.6; }
.activity-facts dd { margin:0; display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:baseline; gap:8px 16px; text-align:right; }
.activity-facts strong { font-size:24px; font-weight:500; white-space:nowrap; }
.activity-facts dd span { color:var(--ui-muted); font-size:14px; white-space:nowrap; }
.activity-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.activities-page .home-nav a[aria-current="page"] { color:var(--ui-text); }
@media (max-width:767px) {
  .activities-main { padding-top:112px; padding-bottom:32px; }
  .activities-main .home-section-heading { margin-bottom:32px; }
  .activities-grid { grid-template-columns:minmax(0,1fr); }
  .activity-card h2 { font-size:28px; }
  .activity-card { display:flex; flex-direction:column; gap:24px; }
  .activity-facts strong { font-size:20px; }
  .activity-facts>div { min-height:76px; }
}
.home-benefits { margin-top:96px; }
.contributors-panel .section-title { margin-bottom:48px; font-size:32px; }
@media(max-width:767px) {
 .home-benefits { margin-top:64px; }
 .brand-home .download-main,.brand-home .contributors { margin-top:24px; }
 .brand-home.download-page .download-main { margin-top:0; }
 .contributors-panel .section-title { font-size:28px; }
}

.brand-home .brand img.brand-lockup { width:130px; }
.brand-home .site-footer .brand img.brand-lockup { width:146px; }

/* Download spacing: separate the main action, system choices and support rows. */
.brand-home .download-panel,.brand-home .contributors-panel { padding-block:64px; }
.brand-home .download-panel>details>summary { min-height:80px; }
@media(max-width:767px) {
 .brand-home .download-panel,.brand-home .contributors-panel { padding-block:40px; }
 .brand-home .download-panel>details>summary { min-height:72px; }
 .brand-home .contributors { margin-top:32px; }
 .contributors-panel .section-title { margin-bottom:32px; }
 .brand-home .contributor-grid { gap:40px; }
}

/* Contributors return to spacious individual cards, without a surrounding panel. */
.brand-home .contributors { margin-top:160px; padding-bottom:96px; }
.brand-home .contributors-panel { padding:0; }
.contributors-panel .section-title { font-size:48px; margin-bottom:56px; }
@media(max-width:767px) {
 .brand-home .contributors { margin-top:96px; padding-bottom:48px; }
 .contributors-panel .section-title { font-size:36px; margin-bottom:36px; }
 .brand-home .contributor-grid { grid-template-columns:minmax(0,1fr); max-width:384px; gap:24px; }
 .brand-home .contributor-card { min-height:320px; padding:40px 24px; }
 .brand-home .contributor-avatar { width:96px; height:96px; }
}

/* Give the Agent and Skills descriptions room to avoid short orphan lines. */
@media(min-width:1024px) {
 :is(#agent-intro,#skills-intro).home-feature { grid-template-columns:46fr 54fr; gap:40px; }
 :is(#agent-intro,#skills-intro) .home-feature-copy>p { max-width:none; }
}

/* Benefits and download are independent chapters, not adjacent cards. */
.brand-home .home-benefits + .download-main { margin-top:var(--ui-section); }

/* Confirmed community milestones: labels above prominent, stable-width numbers. */
.home-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; margin:80px 0 0; text-align:center; }
.home-stats dt { color:var(--ui-text); font-size:22px; font-weight:500; line-height:1.5; }
.home-stats dd { margin:20px 0 0; font-size:clamp(40px,5vw,64px); font-weight:500; line-height:1.1; letter-spacing:-.03em; font-variant-numeric:tabular-nums; white-space:nowrap; }
@media(max-width:767px) {
 .home-stats { grid-template-columns:minmax(0,1fr); gap:40px; margin-top:48px; }
 .home-stats dd { font-size:48px; margin-top:12px; }
}

.home-stats>div { min-width:0; }
.home-stats>div+div { border-left:1px solid var(--ui-line); padding-left:32px; }
@media(max-width:767px) {
 .home-stats>div+div { border-left:0; padding-left:0; border-top:1px solid var(--ui-line); padding-top:24px; }
}

@media(min-width:768px) and (max-width:1023px) { .home-stats dd { font-size:36px; } }
