/* LoadTester unified dark-theme + compact-reading pass.
   Keeps page-specific accent colors, but removes light/white theme variants and
   uses more of the viewport on editorial/solution pages. */

/* ---------- More useful viewport width + less vertical dead space ---------- */
body.solutions-v2.editorial-v3 .container{
  width:min(1280px,calc(100% - 48px));
}
body.solutions-v2.editorial-v3 .section .container,
body.solutions-v2.editorial-v3 .cta,
body.solutions-v2.editorial-v3 .jumpbar-inner{
  max-width:1280px;
}

/* Full-bleed hero E was visually too tall on desktop. */
body.hero-e .hero,
body.hero-e .hero-grid{min-height:520px;}
body.hero-e .hero-grid>.visual img{height:520px;}
body.hero-e .hero-grid>div:first-child{
  width:min(1280px,calc(100% - 48px));
  padding:58px 0 54px;
}
body.hero-e .hero-grid>div:first-child::before{
  inset:0 38% 0 -8%;
}
body.hero-e .hero h1{max-width:15ch!important;}

/* Dense editorial rhythm: enough breathing room without large empty bands. */
.signature-v4{padding:40px 0 32px;}
.signature-v4 .signature-inner{
  grid-template-columns:minmax(270px,.72fr) minmax(0,1.7fr);
  gap:52px;
}
body.editorial-v3 .section{padding:66px 0;}
body.body-e .section{padding:72px 0;}
body.editorial-v3 .section-head{margin-bottom:30px;}
body.editorial-v3 .proof{gap:38px;}
body.seo10-upgraded .seo10-module{padding:54px 0;}
body.seo10-upgraded .seo10-module-head{margin-bottom:26px;gap:42px;}
body.seo10-upgraded .seo10-evidence{padding:44px 0 54px;}

/* Editorial article template: wider reading area and tighter outer gutters. */
body.editorial-v3 .article-wrap{padding:40px 0 72px;}
body.editorial-v3 .article-grid{
  grid-template-columns:minmax(0,900px) minmax(210px,250px);
  gap:44px;
  justify-content:center;
}
body.editorial-v3 .article-card h2{margin-top:56px;}

/* Legacy blog/article template uses the same dark palette already; make it use
   more of a desktop viewport and reduce card/rail whitespace. */
body:not(.solutions-v2) .article-wrap{padding-top:24px;padding-bottom:44px;}
body:not(.solutions-v2) .article-grid{
  max-width:1320px;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:30px;
}
body:not(.solutions-v2) .article-card{padding:34px 38px;}

/* ---------- One dark theme across all unique solution/editorial pages ---------- */
body.unique-v4.tone-paper,
body.unique-v4.tone-warm,
body.unique-v4.u-ecommerce-load-testing,
body.unique-v4.u-solutions-hub{
  background:
    radial-gradient(900px 480px at 50% -220px,rgba(45,212,191,.08),transparent 68%),
    linear-gradient(180deg,#09111d 0%,#0b1420 46%,#09111d 100%) !important;
  color:#b8c6d5!important;
}

body.unique-v4.tone-paper p,
body.unique-v4.tone-warm p,
body.unique-v4.u-ecommerce-load-testing p,
body.unique-v4.u-solutions-hub p{color:#b8c6d5!important;}

body.unique-v4.tone-paper h1,
body.unique-v4.tone-paper h2,
body.unique-v4.tone-paper h3,
body.unique-v4.tone-paper strong,
body.unique-v4.tone-warm h1,
body.unique-v4.tone-warm h2,
body.unique-v4.tone-warm h3,
body.unique-v4.tone-warm strong,
body.unique-v4.u-ecommerce-load-testing h1,
body.unique-v4.u-ecommerce-load-testing h2,
body.unique-v4.u-ecommerce-load-testing h3,
body.unique-v4.u-ecommerce-load-testing strong,
body.unique-v4.u-solutions-hub h1,
body.unique-v4.u-solutions-hub h2,
body.unique-v4.u-solutions-hub h3,
body.unique-v4.u-solutions-hub strong{color:#e8eef5!important;}

body.unique-v4.tone-paper .site-header,
body.unique-v4.tone-warm .site-header,
body.unique-v4.u-ecommerce-load-testing .site-header,
body.unique-v4.u-solutions-hub .site-header{
  background:rgba(9,17,29,.88)!important;
  border-bottom-color:rgba(148,163,184,.12)!important;
}

body.unique-v4.tone-paper .hero,
body.unique-v4.tone-warm .hero,
body.unique-v4.tone-paper .section,
body.unique-v4.tone-warm .section,
body.unique-v4.u-solutions-hub .section{
  background:transparent!important;
}
body.unique-v4.tone-paper .section.alt,
body.unique-v4.tone-warm .section.alt,
body.unique-v4.u-solutions-hub .section.alt{
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.006))!important;
  border-color:rgba(148,163,184,.11)!important;
}

body.unique-v4.tone-paper .signature-v4,
body.unique-v4.tone-warm .signature-v4,
body.unique-v4.tone-paper .jumpbar-wrap,
body.unique-v4.tone-warm .jumpbar-wrap,
body.unique-v4.u-solutions-hub .jumpbar-wrap{
  background:rgba(8,15,25,.52)!important;
  border-color:rgba(148,163,184,.13)!important;
}
body.unique-v4.tone-paper .jumpbar-links a,
body.unique-v4.tone-warm .jumpbar-links a,
body.unique-v4.u-solutions-hub .jumpbar-links a{color:#9fb2c5!important;border-color:rgba(148,163,184,.24)!important;}
body.unique-v4.tone-paper .lead,
body.unique-v4.tone-warm .lead{color:#c6d3df!important;}
body.unique-v4.tone-paper .hero .micro,
body.unique-v4.tone-warm .hero .micro{color:#8497aa!important;}

/* Remove page-level light signature strips that escaped the tone rules. */
body.u-capacity-testing-tool .signature-v4,
body.u-kubernetes-load-testing .signature-v4,
body.u-saas-load-testing .signature-v4,
body.u-checkout-load-testing .signature-v4,
body.u-devops-load-testing .signature-v4,
body.u-mobile-api-load-testing .signature-v4{
  background:linear-gradient(90deg,rgba(45,212,191,.045),rgba(255,255,255,.008))!important;
}

/* Ecommerce long-form article: keep the editorial typography, not the cream page. */
body.u-ecommerce-load-testing .article-wrap{
  background:linear-gradient(180deg,#0b1420 0,#09111d 100%)!important;
}
body.u-ecommerce-load-testing .article-card h1,
body.u-ecommerce-load-testing .article-card h2,
body.u-ecommerce-load-testing .article-card h3,
body.u-ecommerce-load-testing .article-card strong{color:#e8eef5!important;}
body.u-ecommerce-load-testing .article-card p,
body.u-ecommerce-load-testing .article-card li{color:#b8c6d5!important;}
body.u-ecommerce-load-testing .article-card>p:first-of-type{color:#c9d6e2!important;}
body.u-ecommerce-load-testing .toc{border-left-color:rgba(148,163,184,.25)!important;}
body.u-ecommerce-load-testing .toc a{color:#9fb2c5!important;}
body.u-ecommerce-load-testing .site-footer{background:#07101a!important;color:#aebed0!important;}

/* Solutions hub was another light outlier. */
body.u-solutions-hub .hero{background:#0a1421!important;}
body.u-solutions-hub .solution-group{border-top-color:rgba(148,163,184,.18)!important;}
body.u-solutions-hub .solution-grid{border-top-color:rgba(148,163,184,.18)!important;}
body.u-solutions-hub .solution-card{
  border-right-color:rgba(148,163,184,.16)!important;
  border-bottom-color:rgba(148,163,184,.16)!important;
  color:#d7e2ee!important;
}
body.u-solutions-hub .solution-card:hover{background:rgba(255,255,255,.025)!important;}
body.u-solutions-hub .solution-card .kicker{color:#67d995!important;}
body.u-solutions-hub .decision{border-top-color:rgba(148,163,184,.28)!important;}
body.u-solutions-hub .proof-card,
body.u-solutions-hub .guide-card{border-top-color:rgba(148,163,184,.27)!important;}

@media(max-width:1000px){
  body.solutions-v2.editorial-v3 .container{width:min(1180px,calc(100% - 36px));}
  body.editorial-v3 .article-grid{grid-template-columns:1fr;gap:28px;}
  body:not(.solutions-v2) .article-grid{grid-template-columns:1fr;max-width:100%;}
  .signature-v4 .signature-inner{grid-template-columns:1fr;gap:26px;}
}
@media(max-width:760px){
  body.hero-e .hero,body.hero-e .hero-grid{min-height:610px;}
  body.hero-e .hero-grid>.visual img{height:610px;}
  body.hero-e .hero-grid>div:first-child{width:100%;padding:58px 24px 44px;}
  body.editorial-v3 .section,body.body-e .section{padding:54px 0;}
  .signature-v4{padding:34px 0 28px;}
  body:not(.solutions-v2) .article-card{padding:24px 20px;}
}
