:root{
  --bg:#eef3f7;
  --sand:#f6f0e6;
  --ink:#243041;
  --muted:#5c6b7a;
  --line:#cfd9e4;
  --soft:#fbf9f5;
  --card:#ffffffd9;
  --accent:#4a7fb5;
  --accent-deep:#2f5f8f;
  --wash:#d9e6f2;
  --max:1120px;
  --radius:18px;
  --space:clamp(2.4rem,5vw,4.2rem);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Source Han Serif SC","Noto Serif SC","Songti SC","SimSun",serif;
  color:var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%,rgba(74,127,181,.14),transparent 58%),
    radial-gradient(700px 380px at 92% 8%,rgba(246,240,230,.95),transparent 52%),
    linear-gradient(180deg,var(--bg),#f4f7fa 40%,var(--sand));
  line-height:1.85;
}
a{color:var(--accent-deep);text-decoration:none}
a:hover{text-decoration:underline;color:var(--accent)}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(251,249,245,.9);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  min-height:64px;gap:1rem;
}
.brand{
  display:flex;align-items:center;gap:.65rem;
  color:var(--ink);text-decoration:none;font-weight:700;
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.brand img{width:36px;height:36px;border-radius:10px}
.nav-desktop{
  display:flex;gap:1.05rem;flex-wrap:wrap;
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.nav-desktop a{color:var(--ink);font-size:.93rem}
.menu-toggle{
  display:none;border:1px solid var(--line);background:var(--soft);
  border-radius:10px;padding:.45rem .75rem;cursor:pointer;color:var(--ink);
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
#mobile-nav{
  display:none;border-top:1px solid var(--line);background:var(--soft);
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
#mobile-nav.open{display:block}
#mobile-nav a{
  display:block;padding:.75rem 1.25rem;border-bottom:1px solid var(--line);color:var(--ink);
}
.ads-slot{margin:1.1rem auto 0;max-width:var(--max);padding:0 1.25rem}

/* cascade hero — short full-width title bar */
.cascade-hero{
  margin:1.4rem 0 0;
  border-block:1px solid var(--line);
  background:
    linear-gradient(90deg,rgba(74,127,181,.12),rgba(246,240,230,.55) 48%,rgba(74,127,181,.08));
}
.cascade-hero .inner{
  max-width:var(--max);margin:0 auto;padding:1.35rem 1.25rem 1.5rem;
}
.cascade-hero .kicker{
  margin:0 0 .45rem;font-size:.84rem;letter-spacing:.08em;
  color:var(--accent-deep);
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.cascade-hero h1{
  margin:0;font-size:clamp(1.45rem,3.2vw,2.05rem);line-height:1.35;font-weight:700;
}
.cascade-hero .lead{
  margin:.7rem 0 0;max-width:46rem;color:var(--muted);font-size:1.02rem;
}
.cascade-cta{
  margin-top:1rem;display:flex;gap:.7rem;flex-wrap:wrap;
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.btn{
  display:inline-block;padding:.55rem 1rem;border-radius:999px;
  background:var(--accent);color:#fff;text-decoration:none;border:1px solid transparent;
}
.btn:hover{background:var(--accent-deep);text-decoration:none;color:#fff}
.btn-ghost{
  background:transparent;color:var(--accent-deep);border-color:var(--line);
}
.btn-ghost:hover{background:var(--wash);color:var(--accent-deep);text-decoration:none}

main.cascade{padding-bottom:3rem}

/* zig-sections — airy alternating rhythm */
.zig-section{
  max-width:var(--max);margin:0 auto;padding:var(--space) 1.25rem;
  display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.6rem,4vw,3.2rem);
  align-items:center;
}
.zig-section:nth-of-type(even){grid-template-columns:.95fr 1.05fr}
.zig-section:nth-of-type(even) .zig-copy{order:2}
.zig-section:nth-of-type(even) .zig-media{order:1}
.zig-section + .zig-section{
  border-top:1px dashed rgba(74,127,181,.22);
}
.zig-eyebrow{
  margin:0 0 .4rem;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.zig-copy h2{
  margin:0 0 .75rem;font-size:clamp(1.2rem,2.4vw,1.55rem);line-height:1.4;
}
.zig-copy p{margin:0 0 .85rem;color:var(--ink)}
.zig-copy p:last-child{margin-bottom:0}
.zig-media{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:.7rem;
  box-shadow:0 18px 40px rgba(36,48,65,.06);
}
.zig-media figure{margin:0}
.zig-media img{
  width:100%;border-radius:calc(var(--radius) - 6px);
  aspect-ratio:16/10;object-fit: contain;background:var(--wash);
}
.zig-media figcaption{
  margin-top:.55rem;padding:0 .2rem;font-size:.86rem;color:var(--muted);
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}

.peers-band{
  max-width:var(--max);margin:0 auto;padding:0 1.25rem var(--space);
}
.peers{
  display:flex;flex-wrap:wrap;gap:.7rem 1.1rem;justify-content:center;
  padding:1.2rem 1.3rem;border-radius:var(--radius);
  background:linear-gradient(135deg,var(--soft),var(--wash));
  border:1px solid var(--line);
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.peers span{color:var(--muted)}
.peers a{font-weight:600}

.faq-band{
  max-width:760px;margin:0 auto;padding:0 1.25rem var(--space);
}
.faq-band h2{margin:0 0 1rem;font-size:1.4rem}
.faq-item{
  padding:1rem 0;border-top:1px solid var(--line);
}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item h3{
  margin:0 0 .45rem;font-size:1.05rem;
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
.faq-item p{margin:0;color:var(--muted)}

.site-footer{
  border-top:1px solid var(--line);
  background:rgba(251,249,245,.85);
  padding:1.4rem 0 1.8rem;
  font-family:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:.92rem;color:var(--muted);
}
.site-footer .foot-links{display:flex;flex-wrap:wrap;gap:.55rem 1rem;margin-bottom:.55rem}
.site-footer a{color:var(--ink)}

/* inner pages */
.page-hero{
  max-width:var(--max);margin:0 auto;padding:2rem 1.25rem .4rem;
}
.page-hero h1{margin:0 0 .5rem;font-size:clamp(1.4rem,3vw,1.9rem)}
.page-hero .lede{margin:0;color:var(--muted)}
.page-body{
  max-width:760px;margin:0 auto;padding:1.2rem 1.25rem 3rem;
}
.page-body h2{margin:1.6rem 0 .7rem;font-size:1.2rem}
.page-body p{margin:0 0 .9rem}
.err-box{
  max-width:640px;margin:2.5rem auto;padding:2rem 1.4rem;
  text-align:center;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--soft);
}
.err-box h1{margin:0 0 .8rem}
.err-box p{margin:0 0 1rem;color:var(--muted)}

@media (max-width:860px){
  .nav-desktop{display:none}
  .menu-toggle{display:inline-block}
  .zig-section,
  .zig-section:nth-of-type(even){
    grid-template-columns:1fr;
    gap:1.2rem;
  }
  .zig-section:nth-of-type(even) .zig-copy,
  .zig-section:nth-of-type(even) .zig-media{order:initial}
  .cascade-hero .inner{padding:1.15rem 1.1rem 1.3rem}
}

/* SEO keyword highlight */
strong.kw, .kw{color:var(--accent,#c45c26);font-weight:700}
mark.kw{background:rgba(196,92,38,.12);color:inherit;padding:0 .15em;border-radius:3px}

/* --- full image display (no crop) --- */
/* Content screenshots: show full image, no crop */
main img:not(#ads img):not(.brand img),
.bento-tile img,
.bento-tiles img,
.bento-grid img,
.bento-tile-tall img,
.bento-mosaic img,
.bento-pair img,
.bento-hot img,
figure img,
.cine-frame img,
.cine-frame .cine-shot,
.cine-shot,
.tl-item img,
.tl-media img,
.folio-reader img,
.folio-figure img,
.console-panels img,
.zig-section img,
.cascade-hero img,
.shot-row img,
.shot-card img,
.shot-grid img,
.shot img,
.featured img,
.mag-shot img,
.rail-main img,
.band-media img,
.sidebar-main img,
.mod-card img,
.stack-figure img,
.stack-fig img,
.split-hero img,
.split-media img,
.split-visual img,
.compare-card img,
.prose img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
  display: block;
  background: #f0f0f0;
}
.cine-frame,
.split-visual,
.bento-tile-tall,
.bento-tile,
.bento-tiles figure,
.tl-media,
.tl-item figure,
.folio-figure,
.shot-row figure,
.shot-card,
.shot-grid figure,
.featured figure,
.zig-section figure,
.console-panels figure,
.folio-reader figure,
.band-media,
.split-media,
.stack-figure,
.stack-fig,
.mod-card,
.compare-card {
  overflow: visible !important;
  min-height: 0 !important;
  height: auto !important;
}
.cine-frame {
  display: block !important;
  position: relative !important;
}
.cine-frame::after,
.split-visual::after {
  display: none !important; /* gradient overlay was hiding lower part of screenshots */
}
.cine-band {
  position: relative !important;
  background: rgba(8, 9, 13, 0.92);
}
/* keep ad icons + logo square */
#ads img {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  position: static !important;
}
.brand img {
  width: 36px !important;
  height: 36px !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
}
/* --- end full image display --- */
