/* Shared landing-page aesthetic for the React blog and generated guide pages. */
.ws-blog,body.ws-guide {
  --bg:#0b0c0f; --panel:#141519; --panel-2:#191b20;
  --text:#f2f3f5; --muted:#a3a6b0; --line:#ffffff14; --mint:#4ee1a0;
  background:var(--bg); color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.ws-blog h1,.ws-blog h2,.ws-guide h1,.ws-guide h2 { font-weight:400; letter-spacing:-.045em; }
.ws-blog h3,.ws-guide h3 { font-weight:600; }
.ws-blog>div.pointer-events-none { display:none; }
.ws-blog a:focus-visible,.ws-blog input:focus-visible,.ws-guide a:focus-visible,.ws-guide summary:focus-visible {
  outline:2px solid var(--mint); outline-offset:5px;
}
.ws-blog>section:last-of-type>div { background:#14191a; border-color:var(--line); }
.ws-blog a,.ws-guide a { transition:color .2s,border-color .2s,background-color .2s; }
.ws-blog a:hover,.ws-guide .guide-entry:hover,.ws-guide .related-grid>a:hover,.ws-guide-index .card:hover { transform:none; }
.ws-blog .group:hover img { transform:none; }
body:has(.ws-blog) .ws-public-header,.ws-guide .ws-public-header {
  max-width:1360px; margin:auto; height:78px; padding:0 44px;
  background:#0b0c0f; border-bottom:0; backdrop-filter:none;
}
body:has(.ws-blog) .ws-public-header__mark,.ws-guide .ws-public-header__mark { filter:none; }
body:has(.ws-blog) .ws-public-header__name,.ws-guide .ws-public-header__name { font-size:23px; letter-spacing:-1px; }
body:has(.ws-blog) .ws-public-header__app,.ws-guide .ws-public-header__app {
  width:auto; background:transparent; color:#b8bac4; padding:0; font-size:13px; font-weight:500;
}
body:has(.ws-blog) .ws-public-header__app:hover,.ws-guide .ws-public-header__app:hover { color:white; }
.ws-guide .wrap,.ws-guide .category-inner { max-width:1200px; }
.ws-guide main { padding-top:56px; }
.ws-guide h1 { font-size:clamp(36px,5vw,64px); line-height:1.08; max-width:1020px; }
.ws-guide .eyebrow,.ws-guide .kicker,.ws-guide .section-kicker { font-weight:500; letter-spacing:.15em; color:var(--mint); }
.ws-guide .hero-shell:after { display:none; }
.ws-guide .hero { border-radius:14px; box-shadow:none; }
.ws-guide .content-grid { grid-template-columns:220px minmax(0,740px); gap:64px; }
.ws-guide .article { line-height:1.85; }
.ws-guide .article h2 { font-size:clamp(28px,3.5vw,38px); line-height:1.2; }
.ws-guide .article p,.ws-guide .article li { color:#b8bac4; }
.ws-guide .article>p:first-of-type { color:#e0e3e8; }
.ws-guide .rail-cta,.ws-guide .inline-cta,.ws-guide .sources,.ws-guide .cta,
.ws-guide .related-grid>a,.ws-guide .guide-entry,.ws-guide .mobile-toc { border-radius:12px; background:var(--panel); box-shadow:none; }
.ws-guide .rail-cta,.ws-guide .inline-cta,.ws-guide .cta { border-color:#4ee1a026; }
.ws-guide .inline-cta strong { font-weight:500; }
.ws-guide .rail-cta a,.ws-guide .inline-cta a,.ws-guide .cta a.button { background:var(--mint); color:#0b0c0f; font-weight:600; border-radius:8px; }
.ws-guide .category-link.active { box-shadow:none; border-bottom:2px solid var(--mint); }
.ws-guide-index .hero { border:0; border-radius:0; background:none; }
.ws-guide-index .hero h1 { font-size:clamp(42px,5vw,72px); line-height:1.05; }
.ws-guide-index .feature,.ws-guide-index .card,.ws-guide-index .bottom-cta { border-radius:14px; box-shadow:none; }
.ws-guide-index .bottom-cta { background:var(--panel); }
.ws-guide-index .card-copy strong,.ws-guide-index .feature-copy strong { font-weight:500; }
.ws-guide-index .primary,.ws-guide-index .secondary,.ws-guide-index .bottom-cta a { font-weight:600; border-radius:8px; }
@media(max-width:920px) { .ws-guide .content-grid { grid-template-columns:minmax(0,740px); } }
@media(max-width:640px) {
  body:has(.ws-blog) .ws-public-header,.ws-guide .ws-public-header { padding:0 24px; height:70px; }
  .ws-guide main { padding-top:30px; }
  .ws-guide .wrap { padding-left:24px; padding-right:24px; }
  .ws-guide-index .wrap { width:100%; }
  .ws-guide-index .hero h1 { font-size:42px; }
  .ws-guide .article { line-height:1.8; }
}
@media(prefers-reduced-motion:reduce) {
  html:has(.ws-blog),html:has(.ws-guide) { scroll-behavior:auto; }
  .ws-blog *,.ws-guide * { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
