@import "./riggr-tokens.css";

/* Marketing site layout + homepage + scoped static pages (Next.js imports riggr-tokens.css only) */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 1.25rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
}
.nav-hamburger { display: none; cursor: pointer; padding: 0.5rem; }
.nav-hamburger div {
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 7.5rem 2rem 4rem;
}
main.wide { max-width: 1040px; }
.page-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.75rem;
  display: block;
}
h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.prose p { margin-bottom: 1rem; color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; }
.prose h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}
.prose ul { margin: 0.5rem 0 1.25rem 1.25rem; color: #cbd5e1; font-size: 0.95rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: #7dd3fc; }
.back {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.back:hover { color: var(--orange); }
.link-grid { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.link-card {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: var(--mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.link-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(30, 41, 59, 0.95);
}
.link-card h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; color: var(--white); }
.link-card p { font-size: 0.85rem; color: #94a3b8; margin: 0; }
.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
footer {
  background: var(--mid);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  align-items: center;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
}
.footer-logo span { color: var(--orange); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: #64748b; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
/* Keep nav links visible (wrap) — avoids extra JS on marketing subpages */
@media (max-width: 640px) {
  main { padding: 7rem 1.25rem 3rem; }
}


/* --- Homepage (/) — requires <body class="page-home"> --- */
/* NAV */
body.page-home nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
body.page-home .nav-logo{
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
}
body.page-home .nav-logo span{ color: var(--orange); }
body.page-home .nav-links{
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
body.page-home .nav-links a{
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}
body.page-home .nav-links a:hover{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-home .nav-cta{
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.4rem 1.1rem !important;
  border-radius: 8px !important;
}
body.page-home .nav-cta:hover{ background: var(--orange-dark) !important; }
body.page-home .nav-hamburger{ display: none; cursor: pointer; padding: 0.5rem; }
body.page-home .nav-hamburger div{ width: 22px; height: 2px; background: var(--white); margin: 4px 0; border-radius: 2px; transition: 0.3s; }

/* HERO */
body.page-home .hero{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
body.page-home .hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
body.page-home .hero-eyebrow::before{
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
body.page-home .hero h1{
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 800px;
  margin-bottom: 1.5rem;
}
body.page-home .hero h1 em{
  font-style: normal;
  color: var(--orange);
  position: relative;
}
body.page-home .hero-desc{
  font-size: 1.1rem;
  color: #94A3B8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
body.page-home .hero-actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
body.page-home .btn-primary{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
body.page-home .btn-primary:hover{ background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }
body.page-home .btn-secondary{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
body.page-home .btn-secondary:hover{ border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
body.page-home .hero-proof{
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
body.page-home .proof-item{
  display: flex;
  flex-direction: column;
}
body.page-home .proof-val{
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
}
body.page-home .proof-label{ font-size: 0.72rem; color: var(--muted); }
body.page-home .proof-divider{ width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* SECTION LAYOUT */
body.page-home section{ padding: 5rem 2rem; }
body.page-home .container{ max-width: 1200px; margin: 0 auto; }
body.page-home .section-tag{
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
body.page-home .section-heading{
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
body.page-home .section-sub{
  color: #94A3B8;
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* PROBLEM STRIP */
body.page-home .problem-strip{
  background: var(--mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
body.page-home .problem-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
body.page-home .problem-item{
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
body.page-home .problem-item:last-child{ border-right: none; }
body.page-home .problem-icon{ font-size: 1.5rem; margin-bottom: 0.75rem; }
body.page-home .problem-item h3{ font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
body.page-home .problem-item p{ font-size: 0.82rem; color: #94A3B8; line-height: 1.65; }

/* FOR CLIENTS */
body.page-home .for-clients{
  background: var(--dark);
}
body.page-home .split-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
body.page-home .feature-list{ margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
body.page-home .feature-item{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
body.page-home .feature-icon{
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
body.page-home .feature-text h4{ font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
body.page-home .feature-text p{ font-size: 0.8rem; color: #94A3B8; line-height: 1.55; }

/* VISUAL CARD — right side of splits */
body.page-home .visual-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
body.page-home .visual-card::before{
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 70%);
  pointer-events: none;
}
body.page-home .vc-label{
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
body.page-home .vc-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.83rem;
}
body.page-home .vc-row:last-child{ border-bottom: none; }
body.page-home .vc-row-label{ color: #94A3B8; }
body.page-home .vc-row-val{ font-weight: 700; color: var(--white); }
body.page-home .vc-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
body.page-home .vc-badge-green{ background: rgba(16,185,129,0.15); color: #34D399; }
body.page-home .vc-badge-orange{ background: rgba(249,115,22,0.15); color: #FB923C; }

/* HOW IT WORKS */
body.page-home .how-it-works{ background: rgba(30,41,59,0.4); }
body.page-home .steps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
body.page-home .step-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}
body.page-home .step-num{
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(249,115,22,0.15);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}
body.page-home .step-card h3{ font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
body.page-home .step-card p{ font-size: 0.82rem; color: #94A3B8; line-height: 1.6; }
body.page-home .step-connector{
  display: none;
}

/* ACCREDITATION BANNER */
body.page-home .accred-banner{
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(249,115,22,0.03));
  border-top: 1px solid rgba(249,115,22,0.15);
  border-bottom: 1px solid rgba(249,115,22,0.15);
  padding: 3rem 2rem;
}
body.page-home .accred-grid{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
body.page-home .accred-pill{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
}
body.page-home .accred-pill .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* FOR ENGINEERS */
body.page-home .engineer-card{
  background: linear-gradient(135deg, var(--mid), rgba(30,41,59,0.6));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2.5rem;
}
body.page-home .benefit-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
body.page-home .benefit-item{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
}
body.page-home .benefit-check{
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
body.page-home .benefit-item strong{ display: block; margin-bottom: 0.15rem; font-size: 0.85rem; }
body.page-home .benefit-item span{ color: #94A3B8; font-size: 0.78rem; }

/* CLIENTS LOGO BAND */
body.page-home .clients-band{
  background: var(--mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 2rem;
  text-align: center;
}
body.page-home .clients-label{
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
body.page-home .clients-logos{
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
body.page-home .client-chip{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.02em;
}

/* CTA */
body.page-home .cta-section{
  background: var(--dark);
  text-align: center;
}
body.page-home .cta-card{
  background: linear-gradient(135deg, #1E293B 0%, rgba(249,115,22,0.08) 100%);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 20px;
  padding: 4rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}
body.page-home .cta-card h2{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
body.page-home .cta-card p{ color: #94A3B8; margin-bottom: 2rem; font-size: 0.95rem; }

/* FOOTER */
body.page-home footer{
  display: block;
  background: var(--mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem 2rem;
}
body.page-home .footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
body.page-home .footer-brand{
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
body.page-home .footer-brand span{ color: var(--orange); }
body.page-home .footer-desc{ font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 280px; }
body.page-home .footer-col h4{
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1rem;
}
body.page-home .footer-col a{
  display: block;
  font-size: 0.83rem;
  color: #94A3B8;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
body.page-home .footer-col a:hover{ color: var(--white); }
body.page-home .footer-bottom{
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  body.page-home .split-grid{ grid-template-columns: 1fr; gap: 2rem; }
  body.page-home .problem-grid{ grid-template-columns: 1fr; }
  body.page-home .problem-item{ border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  body.page-home .problem-item:last-child{ border-bottom: none; }
  body.page-home .steps-grid{ grid-template-columns: 1fr; }
  body.page-home .footer-grid{ grid-template-columns: 1fr 1fr; }
  body.page-home .benefit-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.page-home nav{ padding: 0 1.25rem; }
  body.page-home .nav-links{ display: none; }
  body.page-home .nav-links.open{ display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--mid); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1rem; gap: 0.25rem; }
  body.page-home .nav-hamburger{ display: block; }
  body.page-home .hero{ padding: 7rem 1.25rem 3rem; }
  body.page-home section{ padding: 3.5rem 1.25rem; }
  body.page-home .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
  body.page-home .hero-proof{ gap: 1.25rem; }
  body.page-home .proof-divider{ display: none; }
}


/* --- Scoped: research/index.html (body class: page-research-index) --- */
body.page-research-index {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}

/* NAV */
body.page-research-index nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(249,115,22,0.3);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 56px;
}
body.page-research-index .nav-brand{
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-decoration: none;
}
body.page-research-index .nav-brand span{ color: var(--orange); }
body.page-research-index .nav-links{
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
body.page-research-index .nav-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s;
  white-space: nowrap;
}
body.page-research-index .nav-links a:hover, body.page-research-index .nav-links a.active{
  background: rgba(249,115,22,0.15);
  color: var(--orange);
}

/* LAYOUT */
body.page-research-index main{ max-width: 1200px; margin: 0 auto; padding: 2rem; }

body.page-research-index section{ margin-bottom: 4rem; scroll-margin-top: 70px; }

body.page-research-index h2{
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
body.page-research-index .section-sub{
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
body.page-research-index .section-divider{
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* HERO */
body.page-research-index .hero{
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 60%, #1a0f00 100%);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
body.page-research-index .hero::before{
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
  pointer-events: none;
}
body.page-research-index .hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
body.page-research-index .hero h1{
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
body.page-research-index .hero h1 span{ color: var(--orange); }
body.page-research-index .hero-desc{
  color: #94A3B8;
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
body.page-research-index .hero-stats{
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
body.page-research-index .hero-stat{
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}
body.page-research-index .hero-stat-val{
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
body.page-research-index .hero-stat-label{
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* CARDS */
body.page-research-index .card-grid{
  display: grid;
  gap: 1rem;
}
body.page-research-index .grid-3{ grid-template-columns: repeat(3, 1fr); }
body.page-research-index .grid-2{ grid-template-columns: repeat(2, 1fr); }
body.page-research-index .grid-4{ grid-template-columns: repeat(4, 1fr); }

body.page-research-index .card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
body.page-research-index .card:hover{ border-color: rgba(249,115,22,0.3); }

body.page-research-index .card-icon{
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
body.page-research-index .card h3{
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
body.page-research-index .card p{
  font-size: 0.83rem;
  color: #94A3B8;
  line-height: 1.6;
}
body.page-research-index .card-accent{ border-left: 3px solid var(--orange); }

/* SUPPLY CHAIN */
body.page-research-index .supply-chain{
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
}
body.page-research-index .sc-node{
  flex: 1;
  min-width: 140px;
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
}
body.page-research-index .sc-node:first-child{ border-radius: 12px 0 0 12px; }
body.page-research-index .sc-node:last-child{ border-radius: 0 12px 12px 0; }
body.page-research-index .sc-node.highlight{
  background: linear-gradient(135deg, rgba(249,115,22,0.25), rgba(249,115,22,0.1));
  border-color: rgba(249,115,22,0.5);
  z-index: 2;
  transform: scaleY(1.03);
  box-shadow: 0 0 24px rgba(249,115,22,0.2);
}
body.page-research-index .sc-arrow{
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 1.2rem;
  padding: 0 0.25rem;
}
body.page-research-index .sc-node-title{
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
body.page-research-index .sc-node-sub{
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}
body.page-research-index .sc-node-badge{
  margin-top: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249,115,22,0.1);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  display: inline-block;
}

/* MARKET OPPORTUNITY TABLE */
body.page-research-index .opp-table{
  width: 100%;
  border-collapse: collapse;
}
body.page-research-index .opp-table th{
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
body.page-research-index .opp-table td{
  padding: 0.9rem 1rem;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
body.page-research-index .opp-table tr:hover td{ background: rgba(255,255,255,0.03); }
body.page-research-index .opp-table tr:last-child td{ border-bottom: none; }

/* SCORE BARS */
body.page-research-index .score-bar{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.page-research-index .score-track{
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
body.page-research-index .score-fill{
  height: 100%;
  border-radius: 3px;
  background: var(--orange);
  transition: width 1s ease;
}
body.page-research-index .score-val{ font-size: 0.75rem; color: var(--muted); white-space: nowrap; }

/* REGIONAL MAP */
body.page-research-index .region-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
body.page-research-index .region-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
body.page-research-index .region-card:hover{
  border-color: rgba(249,115,22,0.4);
  transform: translateY(-2px);
}
body.page-research-index .region-card.hot{ border-left: 3px solid var(--orange); }
body.page-research-index .region-card.warm{ border-left: 3px solid var(--yellow); }
body.page-research-index .region-card.moderate{ border-left: 3px solid var(--blue); }
body.page-research-index .region-name{
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
body.page-research-index .region-tier{
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
body.page-research-index .hot .region-tier{ color: var(--orange); }
body.page-research-index .warm .region-tier{ color: var(--yellow); }
body.page-research-index .moderate .region-tier{ color: var(--blue); }
body.page-research-index .region-drivers{
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.6;
}
body.page-research-index .region-tag{
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin: 0.15rem 0.15rem 0 0;
  font-weight: 600;
}
body.page-research-index .tag-5g{ background: rgba(59,130,246,0.2); color: #93C5FD; }
body.page-research-index .tag-srn{ background: rgba(16,185,129,0.2); color: #6EE7B7; }
body.page-research-index .tag-maint{ background: rgba(249,115,22,0.2); color: #FCA974; }
body.page-research-index .tag-small{ background: rgba(139,92,246,0.2); color: #C4B5FD; }
body.page-research-index .tag-decom{ background: rgba(239,68,68,0.2); color: #FCA5A5; }

/* REVENUE MODEL */
body.page-research-index .rev-model{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
body.page-research-index .rev-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.5rem;
}
body.page-research-index .rev-card h4{
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 1rem;
}
body.page-research-index .rev-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
}
body.page-research-index .rev-row:last-child{ border-bottom: none; }
body.page-research-index .rev-label{ color: #94A3B8; }
body.page-research-index .rev-val{ font-weight: 700; color: var(--white); }

/* COMPETITOR RADAR */
body.page-research-index .comp-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
body.page-research-index .comp-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.25rem;
}
body.page-research-index .comp-name{
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
body.page-research-index .comp-type{
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
body.page-research-index .comp-attr{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
  gap: 0.75rem;
}
body.page-research-index .comp-attr-label{ color: #94A3B8; flex-shrink: 0; }
body.page-research-index .comp-dots{
  display: flex;
  gap: 3px;
}
body.page-research-index .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
body.page-research-index .dot.filled{ background: var(--orange); }
body.page-research-index .dot.half{ background: rgba(249,115,22,0.4); }

/* PLAYBOOK */
body.page-research-index .playbook{
  counter-reset: play;
}
body.page-research-index .play-item{
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.page-research-index .play-item:last-child{ border-bottom: none; }
body.page-research-index .play-num{
  counter-increment: play;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--orange);
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-research-index .play-content h4{
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
body.page-research-index .play-content p{
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
}
body.page-research-index .play-horizon{
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  color: var(--orange);
}

/* RISK TABLE */
body.page-research-index .risk-row{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
}
body.page-research-index .risk-header{
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0 1rem 0.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 1rem;
}
body.page-research-index .badge{
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
body.page-research-index .badge-high{ background: rgba(239,68,68,0.2); color: #FCA5A5; }
body.page-research-index .badge-med{ background: rgba(245,158,11,0.2); color: #FCD34D; }
body.page-research-index .badge-low{ background: rgba(16,185,129,0.2); color: #6EE7B7; }

/* ACCREDITATION */
body.page-research-index .accred-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
body.page-research-index .accred-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1.1rem;
}
body.page-research-index .accred-logo{
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
body.page-research-index .accred-name{
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
body.page-research-index .accred-desc{
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.5;
}
body.page-research-index .accred-req{
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
}

/* TOGGLE TABS */
body.page-research-index .tabs{ display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
body.page-research-index .tab{
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  background: transparent;
  transition: all 0.2s;
}
body.page-research-index .tab.active, body.page-research-index .tab:hover{
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.4);
  color: var(--orange);
}
body.page-research-index .tab-content{ display: none; }
body.page-research-index .tab-content.active{ display: block; }

/* INSIGHT CALLOUT */
body.page-research-index .callout{
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(249,115,22,0.05));
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.7;
}
body.page-research-index .callout strong{ color: var(--orange); }

/* CHART BAR */
body.page-research-index .bar-chart{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
body.page-research-index .bar-row{
  display: grid;
  grid-template-columns: 180px 1fr 60px;
  align-items: center;
  gap: 0.75rem;
}
body.page-research-index .bar-label{ font-size: 0.8rem; color: #94A3B8; text-align: right; }
body.page-research-index .bar-track{
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  overflow: hidden;
}
body.page-research-index .bar-fill{
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--orange), #FB923C);
}
body.page-research-index .bar-val{ font-size: 0.78rem; font-weight: 700; color: var(--white); }

/* FOOTER */
body.page-research-index footer{
  background: var(--mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  body.page-research-index .grid-3, body.page-research-index .grid-4, body.page-research-index .region-grid, body.page-research-index .accred-grid{ grid-template-columns: repeat(2, 1fr); }
  body.page-research-index .comp-grid, body.page-research-index .rev-model{ grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.page-research-index .grid-3, body.page-research-index .grid-4, body.page-research-index .grid-2, body.page-research-index .region-grid, body.page-research-index .accred-grid, body.page-research-index .comp-grid{ grid-template-columns: 1fr; }
  body.page-research-index .hero h1{ font-size: 1.7rem; }
  body.page-research-index .bar-row{ grid-template-columns: 100px 1fr 50px; }
  body.page-research-index .bar-label{ font-size: 0.7rem; }
  body.page-research-index .risk-row, body.page-research-index .risk-header{ grid-template-columns: 2fr 1fr 2fr; }
  body.page-research-index .risk-row > :nth-child(3), body.page-research-index .risk-header > :nth-child(3){ display: none; }
  body.page-research-index nav{ padding: 0 1rem; gap: 1rem; }
  body.page-research-index main{ padding: 1rem; }
}


/* --- Scoped: login/index.html (body class: page-login-index) --- */
body.page-login-index {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
body.page-login-index .card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
body.page-login-index .logo{
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}
body.page-login-index .logo span{ color: var(--orange); }
body.page-login-index .subtitle{
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
body.page-login-index label{
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 0.4rem;
}
body.page-login-index input[type="password"]{
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 1.25rem;
}
body.page-login-index input[type="password"]:focus{
  border-color: rgba(249,115,22,0.5);
}
body.page-login-index button{
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}
body.page-login-index button:hover{ opacity: 0.9; }
body.page-login-index button:disabled{ opacity: 0.5; cursor: not-allowed; }
body.page-login-index .error{
  display: none;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #FCA5A5;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-align: center;
}
body.page-login-index .spinner{ display: none; text-align: center; margin-top: 0.75rem; font-size: 0.78rem; color: var(--muted); }


/* --- Scoped: capabilities/index.html (body class: page-capabilities-index) --- */
body.page-capabilities-index {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}

/* NAV */
body.page-capabilities-index nav{
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249,115,22,0.25);
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem; height: 56px;
}
body.page-capabilities-index .nav-brand{ font-size: 1.1rem; font-weight: 900; color: var(--white); letter-spacing: -0.04em; text-decoration: none; }
body.page-capabilities-index .nav-brand span{ color: var(--orange); }
body.page-capabilities-index .nav-title{ font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
body.page-capabilities-index .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; margin-left: auto; }
body.page-capabilities-index .nav-links a{
  color: var(--muted); text-decoration: none; font-size: 0.78rem;
  padding: 0.3rem 0.75rem; border-radius: 999px; transition: all 0.2s; white-space: nowrap;
}
body.page-capabilities-index .nav-links a:hover, body.page-capabilities-index .nav-links a.active{ background: var(--orange-dim); color: var(--orange); }

body.page-capabilities-index main{ max-width: 1300px; margin: 0 auto; padding: 2rem; }

/* HERO */
body.page-capabilities-index .hero{
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 60%, #1a0800 100%);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 16px; padding: 2.5rem; margin-bottom: 2.5rem; position: relative; overflow: hidden;
}
body.page-capabilities-index .hero::before{
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 70%);
  pointer-events: none;
}
body.page-capabilities-index .hero-badge{
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange-dim); border: 1px solid rgba(249,115,22,0.4);
  color: var(--orange); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
body.page-capabilities-index .hero h1{ font-size: 2.2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 0.75rem; }
body.page-capabilities-index .hero h1 span{ color: var(--orange); }
body.page-capabilities-index .hero p{ color: #94A3B8; font-size: 0.95rem; max-width: 700px; line-height: 1.7; margin-bottom: 1.5rem; }
body.page-capabilities-index .hero-meta{ display: flex; gap: 2rem; flex-wrap: wrap; }
body.page-capabilities-index .hero-meta-item{ border-left: 3px solid var(--orange); padding-left: 0.9rem; }
body.page-capabilities-index .hero-meta-val{ font-size: 1.4rem; font-weight: 900; letter-spacing: -0.04em; }
body.page-capabilities-index .hero-meta-label{ font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }

/* SECTION */
body.page-capabilities-index section{ margin-bottom: 3.5rem; scroll-margin-top: 70px; }
body.page-capabilities-index .section-header{ margin-bottom: 1.5rem; }
body.page-capabilities-index .section-header h2{ font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.3rem; }
body.page-capabilities-index .section-divider{ width: 40px; height: 3px; border-radius: 2px; margin-bottom: 0.6rem; }
body.page-capabilities-index .div-orange{ background: var(--orange); }
body.page-capabilities-index .div-green{ background: var(--green); }
body.page-capabilities-index .div-blue{ background: var(--blue); }
body.page-capabilities-index .div-purple{ background: var(--purple); }
body.page-capabilities-index .section-sub{ font-size: 0.86rem; color: var(--muted); }

/* PILLAR TABS */
body.page-capabilities-index .pillars{ display: flex; gap: 0.75rem; margin-bottom: 2rem; }
body.page-capabilities-index .pillar-btn{
  flex: 1; padding: 1rem 1.25rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08);
  background: var(--mid); cursor: pointer; text-align: left; transition: all 0.2s;
  display: flex; align-items: center; gap: 0.75rem;
}
body.page-capabilities-index .pillar-btn:hover{ border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
body.page-capabilities-index .pillar-btn.active-people{ border-color: rgba(249,115,22,0.5); background: var(--orange-dim); }
body.page-capabilities-index .pillar-btn.active-process{ border-color: rgba(16,185,129,0.5);  background: var(--green-dim); }
body.page-capabilities-index .pillar-btn.active-systems{ border-color: rgba(59,130,246,0.5);  background: var(--blue-dim); }
body.page-capabilities-index .pillar-btn.active-marketing{ border-color: rgba(139,92,246,0.5);  background: var(--purple-dim); }
body.page-capabilities-index .pillar-icon{ font-size: 1.6rem; }
body.page-capabilities-index .pillar-label{ font-weight: 800; font-size: 0.9rem; }
body.page-capabilities-index .pillar-count{ font-size: 0.75rem; color: var(--muted); margin-top: 0.1rem; }
body.page-capabilities-index .pillar-btn.active-people   .pillar-label{ color: var(--orange); }
body.page-capabilities-index .pillar-btn.active-process  .pillar-label{ color: var(--green); }
body.page-capabilities-index .pillar-btn.active-systems  .pillar-label{ color: var(--blue); }
body.page-capabilities-index .pillar-btn.active-marketing.pillar-label{ color: var(--purple); }
body.page-capabilities-index .pillar-btn.active-marketing .pillar-label{ color: var(--purple); }

/* PANEL */
body.page-capabilities-index .panel{ display: none; }
body.page-capabilities-index .panel.active{ display: block; }

/* CAPABILITY GRID */
body.page-capabilities-index .cap-grid{ display: grid; gap: 1rem; }
body.page-capabilities-index .cap-grid-3{ grid-template-columns: repeat(3, 1fr); }
body.page-capabilities-index .cap-grid-2{ grid-template-columns: repeat(2, 1fr); }

body.page-capabilities-index .cap-card{
  background: var(--mid); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 1.4rem; cursor: pointer;
  transition: all 0.2s; position: relative;
}
body.page-capabilities-index .cap-card:hover{ transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
body.page-capabilities-index .cap-card.people{ border-left: 3px solid var(--orange); }
body.page-capabilities-index .cap-card.process{ border-left: 3px solid var(--green); }
body.page-capabilities-index .cap-card.systems{ border-left: 3px solid var(--blue); }
body.page-capabilities-index .cap-card.marketing{ border-left: 3px solid var(--purple); }
body.page-capabilities-index .cap-card.people:hover{ border-color: rgba(249,115,22,0.5); }
body.page-capabilities-index .cap-card.process:hover{ border-color: rgba(16,185,129,0.5); }
body.page-capabilities-index .cap-card.systems:hover{ border-color: rgba(59,130,246,0.5); }
body.page-capabilities-index .cap-card.marketing:hover{ border-color: rgba(139,92,246,0.5); }

body.page-capabilities-index .cap-icon{ font-size: 1.4rem; margin-bottom: 0.6rem; }
body.page-capabilities-index .cap-title{ font-size: 0.92rem; font-weight: 800; margin-bottom: 0.4rem; }
body.page-capabilities-index .cap-subtitle{ font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
body.page-capabilities-index .cap-subtitle.people{ color: var(--orange); }
body.page-capabilities-index .cap-subtitle.process{ color: var(--green); }
body.page-capabilities-index .cap-subtitle.systems{ color: var(--blue); }
body.page-capabilities-index .cap-subtitle.marketing{ color: var(--purple); }
body.page-capabilities-index .cap-desc{ font-size: 0.8rem; color: #94A3B8; line-height: 1.6; }

body.page-capabilities-index .cap-tags{ display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
body.page-capabilities-index .cap-tag{
  font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em;
}
body.page-capabilities-index .tag-now{ background: rgba(16,185,129,0.15); color: #6EE7B7; }
body.page-capabilities-index .tag-soon{ background: rgba(249,115,22,0.15); color: #FCA974; }
body.page-capabilities-index .tag-later{ background: rgba(59,130,246,0.12); color: #93C5FD; }
body.page-capabilities-index .tag-critical{ background: rgba(239,68,68,0.15); color: #FCA5A5; }
body.page-capabilities-index .tag-core{ background: rgba(139,92,246,0.15); color: #C4B5FD; }

body.page-capabilities-index .cap-priority{
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px;
}
body.page-capabilities-index .pri-p1{ background: rgba(239,68,68,0.15); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.3); }
body.page-capabilities-index .pri-p2{ background: rgba(249,115,22,0.15); color: #FCD34D; border: 1px solid rgba(249,115,22,0.3); }
body.page-capabilities-index .pri-p3{ background: rgba(59,130,246,0.12); color: #93C5FD; border: 1px solid rgba(59,130,246,0.25); }

/* DETAIL DRAWER */
body.page-capabilities-index .drawer{
  position: fixed; right: 0; top: 0; bottom: 0; width: 420px;
  background: #131f35; border-left: 1px solid rgba(255,255,255,0.08);
  transform: translateX(100%); transition: transform 0.3s ease;
  overflow-y: auto; z-index: 200; padding: 2rem;
}
body.page-capabilities-index .drawer.open{ transform: translateX(0); }
body.page-capabilities-index .drawer-close{
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: none; color: var(--muted);
  cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
body.page-capabilities-index .drawer-close:hover{ background: rgba(255,255,255,0.12); color: var(--white); }
body.page-capabilities-index .drawer-icon{ font-size: 2.5rem; margin-bottom: 1rem; }
body.page-capabilities-index .drawer-type{ font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.4rem; }
body.page-capabilities-index .drawer-type.people{ color: var(--orange); }
body.page-capabilities-index .drawer-type.process{ color: var(--green); }
body.page-capabilities-index .drawer-type.systems{ color: var(--blue); }
body.page-capabilities-index .drawer-type.marketing{ color: var(--purple); }
body.page-capabilities-index .drawer h2{ font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
body.page-capabilities-index .drawer p{ font-size: 0.85rem; color: #94A3B8; line-height: 1.7; margin-bottom: 1.25rem; }
body.page-capabilities-index .drawer-section{ margin-bottom: 1.5rem; }
body.page-capabilities-index .drawer-section h3{ font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.75rem; }
body.page-capabilities-index .drawer-list{ list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
body.page-capabilities-index .drawer-list li{
  font-size: 0.82rem; color: #CBD5E1; padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.04); border-radius: 6px;
  border-left: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
body.page-capabilities-index .drawer-list li::before{ content: '→'; color: var(--orange); font-weight: 900; flex-shrink: 0; }
body.page-capabilities-index .drawer-list.green  li::before{ color: var(--green); }
body.page-capabilities-index .drawer-list.blue   li::before{ color: var(--blue); }
body.page-capabilities-index .drawer-list.purple li::before{ color: var(--purple); }
body.page-capabilities-index .drawer-divider{ height: 1px; background: rgba(255,255,255,0.06); margin: 1.25rem 0; }
body.page-capabilities-index .drawer-horizon{
  background: var(--orange-dim); border: 1px solid rgba(249,115,22,0.3);
  border-radius: 8px; padding: 0.75rem 1rem;
  font-size: 0.8rem; color: #E2E8F0;
}
body.page-capabilities-index .drawer-horizon strong{ color: var(--orange); }

/* OVERLAY */
body.page-capabilities-index .overlay{
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 199; backdrop-filter: blur(2px);
}
body.page-capabilities-index .overlay.active{ display: block; }

/* TIMELINE */
body.page-capabilities-index .timeline{ position: relative; padding-left: 2.5rem; }
body.page-capabilities-index .timeline::before{
  content: ''; position: absolute; left: 0.9rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px; background: rgba(255,255,255,0.08);
}
body.page-capabilities-index .tl-item{ position: relative; margin-bottom: 1.75rem; }
body.page-capabilities-index .tl-item:last-child{ margin-bottom: 0; }
body.page-capabilities-index .tl-dot{
  position: absolute; left: -1.85rem; top: 0.25rem;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--orange); background: var(--dark);
}
body.page-capabilities-index .tl-dot.done{ background: var(--orange); border-color: var(--orange); }
body.page-capabilities-index .tl-dot.active{ background: rgba(249,115,22,0.3); border-color: var(--orange); box-shadow: 0 0 10px rgba(249,115,22,0.4); }
body.page-capabilities-index .tl-period{ font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 0.3rem; }
body.page-capabilities-index .tl-title{ font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
body.page-capabilities-index .tl-items{ font-size: 0.8rem; color: #94A3B8; line-height: 1.7; }

/* CALLOUT */
body.page-capabilities-index .callout{
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(249,115,22,0.03));
  border: 1px solid rgba(249,115,22,0.25); border-radius: 10px;
  padding: 1.1rem 1.4rem; font-size: 0.84rem; color: #CBD5E1; line-height: 1.7;
}
body.page-capabilities-index .callout strong{ color: var(--orange); }
body.page-capabilities-index .callout.green{
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.03));
  border-color: rgba(16,185,129,0.25);
}
body.page-capabilities-index .callout.green strong{ color: var(--green); }
body.page-capabilities-index .callout.blue{
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.03));
  border-color: rgba(59,130,246,0.25);
}
body.page-capabilities-index .callout.blue strong{ color: var(--blue); }
body.page-capabilities-index .callout.purple{
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(139,92,246,0.03));
  border-color: rgba(139,92,246,0.25);
}
body.page-capabilities-index .callout.purple strong{ color: var(--purple); }

/* MATRIX */
body.page-capabilities-index .matrix{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.06);
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
body.page-capabilities-index .matrix-header{
  background: var(--slate); padding: 0.75rem 1rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}
body.page-capabilities-index .matrix-cell{
  background: var(--mid); padding: 0.85rem 1rem;
  font-size: 0.8rem; color: #94A3B8; line-height: 1.5;
}
body.page-capabilities-index .matrix-cell strong{ color: var(--white); display: block; margin-bottom: 0.2rem; font-size: 0.82rem; }

/* FOOTER */
body.page-capabilities-index footer{
  background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem; text-align: center; font-size: 0.72rem; color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  body.page-capabilities-index .cap-grid-3{ grid-template-columns: repeat(2, 1fr); }
  body.page-capabilities-index .pillars{ flex-direction: column; }
  body.page-capabilities-index .drawer{ width: 100%; }
}
@media (max-width: 600px) {
  body.page-capabilities-index .cap-grid-3, body.page-capabilities-index .cap-grid-2{ grid-template-columns: 1fr; }
  body.page-capabilities-index .hero h1{ font-size: 1.6rem; }
  body.page-capabilities-index .matrix{ grid-template-columns: 1fr; }
  body.page-capabilities-index nav{ padding: 0 1rem; gap: 1rem; }
}


/* --- Scoped: about/index.html (body class: page-about-index) --- */
body.page-about-index { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }

body.page-about-index nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between; height: 60px;
}
body.page-about-index .nav-logo{ font-size: 1.4rem; font-weight: 900; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
body.page-about-index .nav-logo span{ color: var(--orange); }
body.page-about-index .nav-links{ display: flex; align-items: center; gap: 0.25rem; }
body.page-about-index .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 8px; transition: all 0.2s; }
body.page-about-index .nav-links a:hover, body.page-about-index .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-about-index .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-about-index .nav-cta:hover{ background: var(--orange-dark) !important; }

body.page-about-index main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-about-index .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; display: block; }
body.page-about-index h1{ font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.5rem; }
body.page-about-index .lead{ font-size: 1.1rem; color: #94A3B8; line-height: 1.75; margin-bottom: 3rem; }
body.page-about-index .divider{ width: 48px; height: 3px; background: var(--orange); border-radius: 2px; margin: 2.5rem 0; }
body.page-about-index h2{ font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
body.page-about-index p{ color: #CBD5E1; font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.25rem; }
body.page-about-index p strong{ color: var(--white); }

body.page-about-index .callout{
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(249,115,22,0.03));
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: #E2E8F0;
  line-height: 1.75;
}
body.page-about-index .callout strong{ color: var(--orange); }

body.page-about-index .value-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
body.page-about-index .value-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
}
body.page-about-index .value-icon{ font-size: 1.25rem; margin-bottom: 0.6rem; }
body.page-about-index .value-card h3{ font-size: 0.88rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--white); }
body.page-about-index .value-card p{ font-size: 0.8rem; margin-bottom: 0; color: #94A3B8; }

body.page-about-index .accred-list{ display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0; }
body.page-about-index .accred-row{
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--mid); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.83rem;
}
body.page-about-index .accred-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

body.page-about-index footer{
  background: var(--mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}
body.page-about-index .footer-logo{ font-size: 1.1rem; font-weight: 900; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
body.page-about-index .footer-logo span{ color: var(--orange); }
body.page-about-index .footer-links{ display: flex; gap: 1.5rem; }
body.page-about-index .footer-links a{ color: #64748B; text-decoration: none; transition: color 0.2s; }
body.page-about-index .footer-links a:hover{ color: var(--white); }

@media (max-width: 600px) {
  body.page-about-index main{ padding: 7rem 1.25rem 4rem; }
  body.page-about-index .value-grid{ grid-template-columns: 1fr; }
  body.page-about-index .nav-links{ display: none; }
}


/* --- Scoped: contact/index.html (body class: page-contact-index) --- */
body.page-contact-index { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }

body.page-contact-index nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between; height: 60px;
}
body.page-contact-index .nav-logo{ font-size: 1.4rem; font-weight: 900; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
body.page-contact-index .nav-logo span{ color: var(--orange); }
body.page-contact-index .nav-links{ display: flex; align-items: center; gap: 0.25rem; }
body.page-contact-index .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 8px; transition: all 0.2s; }
body.page-contact-index .nav-links a:hover, body.page-contact-index .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-contact-index .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }

body.page-contact-index main{ max-width: 1100px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-contact-index .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; display: block; }
body.page-contact-index h1{ font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1rem; }
body.page-contact-index .lead{ font-size: 1rem; color: #94A3B8; max-width: 540px; line-height: 1.75; margin-bottom: 3rem; }

body.page-contact-index .contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* CONTACT FORM */
body.page-contact-index .form-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem;
}
body.page-contact-index .form-card h2{ font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; }
body.page-contact-index .form-group{ margin-bottom: 1.25rem; }
body.page-contact-index .form-group label{ display: block; font-size: 0.78rem; font-weight: 600; color: #94A3B8; margin-bottom: 0.4rem; }
body.page-contact-index .form-group input, body.page-contact-index .form-group select, body.page-contact-index .form-group textarea{
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
body.page-contact-index .form-group input:focus, body.page-contact-index .form-group select:focus, body.page-contact-index .form-group textarea:focus{
  border-color: rgba(249,115,22,0.5);
  background: rgba(249,115,22,0.03);
}
body.page-contact-index .form-group select option{ background: #1E293B; }
body.page-contact-index .form-group textarea{ resize: vertical; min-height: 120px; }
body.page-contact-index .form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
body.page-contact-index .btn-submit{
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
body.page-contact-index .btn-submit:hover{ background: var(--orange-dark); }
body.page-contact-index .form-note{ font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; text-align: center; }
body.page-contact-index .form-success{
  display: none;
  text-align: center;
  padding: 2rem;
}
body.page-contact-index .form-success h3{ font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
body.page-contact-index .form-success p{ font-size: 0.85rem; color: #94A3B8; }

/* CONTACT INFO */
body.page-contact-index .info-stack{ display: flex; flex-direction: column; gap: 1.5rem; }
body.page-contact-index .info-card{
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
}
body.page-contact-index .info-card h3{ font-size: 0.88rem; font-weight: 800; margin-bottom: 0.5rem; }
body.page-contact-index .info-card p{ font-size: 0.82rem; color: #94A3B8; line-height: 1.65; margin-bottom: 0.75rem; }
body.page-contact-index .info-card a{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
body.page-contact-index .info-card a:hover{ text-decoration: underline; }
body.page-contact-index .response-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}
body.page-contact-index .type-tabs{
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
body.page-contact-index .type-tab{
  flex: 1;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
body.page-contact-index .type-tab.active{
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.4);
  color: var(--orange);
}

body.page-contact-index footer{
  background: var(--mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4rem;
}
body.page-contact-index .footer-logo{ font-size: 1.1rem; font-weight: 900; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
body.page-contact-index .footer-logo span{ color: var(--orange); }
body.page-contact-index .footer-links{ display: flex; gap: 1.5rem; }
body.page-contact-index .footer-links a{ color: #64748B; text-decoration: none; transition: color 0.2s; }
body.page-contact-index .footer-links a:hover{ color: var(--white); }

@media (max-width: 800px) {
  body.page-contact-index .contact-grid{ grid-template-columns: 1fr; }
  body.page-contact-index .form-row{ grid-template-columns: 1fr; }
  body.page-contact-index main{ padding: 7rem 1.25rem 4rem; }
  body.page-contact-index .nav-links{ display: none; }
}


/* --- Scoped: enterprise/index.html (body class: page-enterprise-index) --- */
body.page-enterprise-index { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-index nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between; height: 60px;
}
body.page-enterprise-index .nav-logo{ font-size: 1.4rem; font-weight: 900; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
body.page-enterprise-index .nav-logo span{ color: var(--orange); }
body.page-enterprise-index .nav-links{ display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-index .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 8px; transition: all 0.2s; }
body.page-enterprise-index .nav-links a:hover, body.page-enterprise-index .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-index .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-index main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-index .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; display: block; }
body.page-enterprise-index h1{ font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1rem; }
body.page-enterprise-index .lead{ font-size: 1.05rem; color: #94A3B8; line-height: 1.75; margin-bottom: 2.5rem; }
body.page-enterprise-index .link-grid{ display: flex; flex-direction: column; gap: 1rem; }
body.page-enterprise-index .link-card{
  display: block; padding: 1.25rem 1.5rem; border-radius: 12px; background: var(--mid);
  border: 1px solid rgba(255,255,255,0.08); text-decoration: none; color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
body.page-enterprise-index .link-card:hover{ border-color: rgba(249,115,22,0.4); background: rgba(30,41,59,0.95); }
body.page-enterprise-index .link-card h2{ font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; color: var(--white); }
body.page-enterprise-index .link-card p{ font-size: 0.85rem; color: #94A3B8; margin: 0; }
body.page-enterprise-index footer{
  background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--muted);
}
body.page-enterprise-index .footer-logo{ font-size: 1.1rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-index .footer-logo span{ color: var(--orange); }
body.page-enterprise-index .footer-links{ display: flex; gap: 1.5rem; flex-wrap: wrap; }
body.page-enterprise-index .footer-links a{ color: #64748B; text-decoration: none; }
body.page-enterprise-index .footer-links a:hover{ color: var(--white); }
@media (max-width: 600px) { main { padding: 7rem 1.25rem 4rem; } .nav-links { display: none; } }


/* --- Scoped: enterprise/governance.html (body class: page-enterprise-governance) --- */
body.page-enterprise-governance { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-governance nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-governance .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-governance .nav-logo span{ color: var(--orange); }
body.page-enterprise-governance .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-governance .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-governance .nav-links a:hover, body.page-enterprise-governance .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-governance .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-governance main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-governance .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-governance h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-governance h2{ font-size: 1.1rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--white); }
body.page-enterprise-governance p, body.page-enterprise-governance li{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 0.75rem; line-height: 1.75; }
body.page-enterprise-governance ul{ margin: 0 0 1rem 1.25rem; }
body.page-enterprise-governance .callout{
  border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin-top: 2rem;
  background: rgba(30,41,59,0.6); border-radius: 0 8px 8px 0; font-size: 0.85rem; color: #94A3B8;
}
body.page-enterprise-governance .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-governance footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/insurance-evidence.html (body class: page-enterprise-insurance-evidence) --- */
body.page-enterprise-insurance-evidence { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-insurance-evidence nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-insurance-evidence .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-insurance-evidence .nav-logo span{ color: var(--orange); }
body.page-enterprise-insurance-evidence .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-insurance-evidence .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-insurance-evidence .nav-links a:hover, body.page-enterprise-insurance-evidence .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-insurance-evidence .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-insurance-evidence main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-insurance-evidence .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-insurance-evidence h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-insurance-evidence h2{ font-size: 1.1rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--white); }
body.page-enterprise-insurance-evidence p, body.page-enterprise-insurance-evidence li{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 0.75rem; line-height: 1.75; }
body.page-enterprise-insurance-evidence ul{ margin: 0 0 1rem 1.25rem; }
body.page-enterprise-insurance-evidence .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-insurance-evidence .callout{
  border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin-top: 2rem;
  background: rgba(30,41,59,0.6); border-radius: 0 8px 8px 0; font-size: 0.85rem; color: #94A3B8;
}
body.page-enterprise-insurance-evidence footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/managed-workforce.html (body class: page-enterprise-managed-workforce) --- */
body.page-enterprise-managed-workforce { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-managed-workforce nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-managed-workforce .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-managed-workforce .nav-logo span{ color: var(--orange); }
body.page-enterprise-managed-workforce .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-managed-workforce .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-managed-workforce .nav-links a:hover, body.page-enterprise-managed-workforce .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-managed-workforce .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-managed-workforce main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-managed-workforce .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-managed-workforce h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-managed-workforce p{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 1rem; line-height: 1.75; }
body.page-enterprise-managed-workforce p strong{ color: var(--white); }
body.page-enterprise-managed-workforce .callout{
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(249,115,22,0.03));
  border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-size: 0.9rem; color: #E2E8F0;
}
body.page-enterprise-managed-workforce table{ width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 1.5rem 0; }
body.page-enterprise-managed-workforce th, body.page-enterprise-managed-workforce td{ border: 1px solid rgba(255,255,255,0.08); padding: 0.75rem; text-align: left; }
body.page-enterprise-managed-workforce th{ background: var(--mid); color: #94A3B8; font-weight: 700; }
body.page-enterprise-managed-workforce td{ color: #CBD5E1; }
body.page-enterprise-managed-workforce .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-managed-workforce .back:hover{ text-decoration: underline; }
body.page-enterprise-managed-workforce footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/procurement-faq.html (body class: page-enterprise-procurement-faq) --- */
body.page-enterprise-procurement-faq { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-procurement-faq nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-procurement-faq .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-procurement-faq .nav-logo span{ color: var(--orange); }
body.page-enterprise-procurement-faq .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-procurement-faq .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-procurement-faq .nav-links a:hover, body.page-enterprise-procurement-faq .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-procurement-faq .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-procurement-faq main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-procurement-faq .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-procurement-faq h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-procurement-faq h2{ font-size: 1.05rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--white); }
body.page-enterprise-procurement-faq p, body.page-enterprise-procurement-faq li{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 0.6rem; line-height: 1.75; }
body.page-enterprise-procurement-faq .qa{ background: var(--mid); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
body.page-enterprise-procurement-faq .qa strong{ color: #94A3B8; font-size: 0.78rem; display: block; margin-bottom: 0.35rem; }
body.page-enterprise-procurement-faq .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-procurement-faq footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/security-diligence.html (body class: page-enterprise-security-diligence) --- */
body.page-enterprise-security-diligence { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-security-diligence nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-security-diligence .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-security-diligence .nav-logo span{ color: var(--orange); }
body.page-enterprise-security-diligence .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-security-diligence .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-security-diligence .nav-links a:hover, body.page-enterprise-security-diligence .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-security-diligence .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-security-diligence main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-security-diligence .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-security-diligence h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-security-diligence h2{ font-size: 1.1rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--white); }
body.page-enterprise-security-diligence p, body.page-enterprise-security-diligence li{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 0.75rem; line-height: 1.75; }
body.page-enterprise-security-diligence ul{ margin: 0 0 1rem 1.25rem; }
body.page-enterprise-security-diligence .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-security-diligence .callout{
  border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin-top: 2rem;
  background: rgba(30,41,59,0.6); border-radius: 0 8px 8px 0; font-size: 0.85rem; color: #94A3B8;
}
body.page-enterprise-security-diligence footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/tier1-capability-bar.html (body class: page-enterprise-tier1-capability-bar) --- */
body.page-enterprise-tier1-capability-bar { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-tier1-capability-bar nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-tier1-capability-bar .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-tier1-capability-bar .nav-logo span{ color: var(--orange); }
body.page-enterprise-tier1-capability-bar .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-tier1-capability-bar .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-tier1-capability-bar .nav-links a:hover, body.page-enterprise-tier1-capability-bar .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-tier1-capability-bar .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-tier1-capability-bar main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-tier1-capability-bar .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; display: block; }
body.page-enterprise-tier1-capability-bar h1{ font-size: clamp(1.75rem, 4vw, 2.35rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; line-height: 1.15; }
body.page-enterprise-tier1-capability-bar h2{ font-size: 1.1rem; font-weight: 800; margin: 2.25rem 0 0.75rem; color: var(--white); }
body.page-enterprise-tier1-capability-bar h3{ font-size: 0.95rem; font-weight: 700; margin: 1.25rem 0 0.5rem; color: #E2E8F0; }
body.page-enterprise-tier1-capability-bar p, body.page-enterprise-tier1-capability-bar li{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 0.75rem; line-height: 1.75; }
body.page-enterprise-tier1-capability-bar ul{ margin: 0 0 1rem 1.25rem; }
body.page-enterprise-tier1-capability-bar .lead{ font-size: 1.05rem; color: #94A3B8; margin-bottom: 1.5rem; line-height: 1.75; }
body.page-enterprise-tier1-capability-bar .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-tier1-capability-bar .cta-row{ display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 2rem; }
body.page-enterprise-tier1-capability-bar .btn{
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 700; padding: 0.65rem 1.25rem; border-radius: 10px; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
body.page-enterprise-tier1-capability-bar .btn-primary{ background: var(--orange); color: var(--white); border: none; }
body.page-enterprise-tier1-capability-bar .btn-primary:hover{ background: #EA6C0A; }
body.page-enterprise-tier1-capability-bar .btn-secondary{ background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
body.page-enterprise-tier1-capability-bar .btn-secondary:hover{ border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
body.page-enterprise-tier1-capability-bar .callout{
  border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin: 1.5rem 0;
  background: rgba(30,41,59,0.6); border-radius: 0 8px 8px 0; font-size: 0.88rem; color: #94A3B8;
}
body.page-enterprise-tier1-capability-bar .callout strong{ color: #E2E8F0; }
body.page-enterprise-tier1-capability-bar table{
  width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 0.75rem 0 1.25rem;
}
body.page-enterprise-tier1-capability-bar th, body.page-enterprise-tier1-capability-bar td{
  text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #CBD5E1; vertical-align: top;
}
body.page-enterprise-tier1-capability-bar th{ color: #94A3B8; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
body.page-enterprise-tier1-capability-bar .flow-wrap{
  margin: 2rem 0; padding: 1.25rem; background: var(--mid); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08); overflow-x: auto;
}
body.page-enterprise-tier1-capability-bar .flow{
  display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; justify-content: center;
  min-width: min-content;
}
body.page-enterprise-tier1-capability-bar .flow-step{
  background: rgba(15,23,42,0.8); border: 1px solid rgba(249,115,22,0.25);
  color: #E2E8F0; font-size: 0.72rem; font-weight: 700; padding: 0.5rem 0.9rem; border-radius: 8px; white-space: nowrap;
}
body.page-enterprise-tier1-capability-bar .flow-arr{ color: var(--muted); font-size: 0.85rem; font-weight: 700; }
body.page-enterprise-tier1-capability-bar .inline-links a{ color: var(--orange); font-weight: 600; text-decoration: none; }
body.page-enterprise-tier1-capability-bar .inline-links a:hover{ text-decoration: underline; }
body.page-enterprise-tier1-capability-bar footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/trust-hub.html (body class: page-enterprise-trust-hub) --- */
body.page-enterprise-trust-hub { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-trust-hub nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-trust-hub .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-trust-hub .nav-logo span{ color: var(--orange); }
body.page-enterprise-trust-hub .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-trust-hub .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-trust-hub .nav-links a:hover, body.page-enterprise-trust-hub .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-trust-hub .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-trust-hub main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-trust-hub .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-trust-hub h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-trust-hub p.lead{ color: #94A3B8; font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.75; }
body.page-enterprise-trust-hub h2{ font-size: 1rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--white); }
body.page-enterprise-trust-hub .link-grid{ display: flex; flex-direction: column; gap: 0.75rem; }
body.page-enterprise-trust-hub .link-card{
  display: block; padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--mid);
  border: 1px solid rgba(255,255,255,0.08); text-decoration: none; color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
body.page-enterprise-trust-hub .link-card:hover{ border-color: rgba(249,115,22,0.4); background: rgba(30,41,59,0.95); }
body.page-enterprise-trust-hub .link-card h3{ font-size: 0.98rem; font-weight: 800; margin-bottom: 0.35rem; color: var(--white); }
body.page-enterprise-trust-hub .link-card p{ font-size: 0.82rem; color: #94A3B8; margin: 0; line-height: 1.55; }
body.page-enterprise-trust-hub .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-trust-hub .callout{
  border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin-top: 2rem;
  background: rgba(30,41,59,0.6); border-radius: 0 8px 8px 0; font-size: 0.85rem; color: #94A3B8;
}
body.page-enterprise-trust-hub footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }


/* --- Scoped: enterprise/workforce-legal-faq.html (body class: page-enterprise-workforce-legal-faq) --- */
body.page-enterprise-workforce-legal-faq { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; }
body.page-enterprise-workforce-legal-faq nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px;
}
body.page-enterprise-workforce-legal-faq .nav-logo{ font-size: 1.4rem; font-weight: 900; color: var(--white); text-decoration: none; }
body.page-enterprise-workforce-legal-faq .nav-logo span{ color: var(--orange); }
body.page-enterprise-workforce-legal-faq .nav-links{ display: flex; gap: 0.25rem; flex-wrap: wrap; }
body.page-enterprise-workforce-legal-faq .nav-links a{ color: #94A3B8; text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 8px; }
body.page-enterprise-workforce-legal-faq .nav-links a:hover, body.page-enterprise-workforce-legal-faq .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.06); }
body.page-enterprise-workforce-legal-faq .nav-cta{ background: var(--orange) !important; color: var(--white) !important; font-weight: 700 !important; }
body.page-enterprise-workforce-legal-faq main{ max-width: 800px; margin: 0 auto; padding: 8rem 2rem 5rem; }
body.page-enterprise-workforce-legal-faq .page-tag{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 0.75rem; }
body.page-enterprise-workforce-legal-faq h1{ font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; }
body.page-enterprise-workforce-legal-faq h2{ font-size: 1.1rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--white); }
body.page-enterprise-workforce-legal-faq p, body.page-enterprise-workforce-legal-faq li{ color: #CBD5E1; font-size: 0.92rem; margin-bottom: 0.75rem; line-height: 1.75; }
body.page-enterprise-workforce-legal-faq ul{ margin: 0 0 1rem 1.25rem; }
body.page-enterprise-workforce-legal-faq .back{ display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
body.page-enterprise-workforce-legal-faq .callout{
  border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin-top: 2rem;
  background: rgba(30,41,59,0.6); border-radius: 0 8px 8px 0; font-size: 0.85rem; color: #94A3B8;
}
body.page-enterprise-workforce-legal-faq footer{ background: var(--mid); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; margin-top: 3rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) { .nav-links { display: none; } }

/* --- Scoped: docs/showcase/rigger_full.html (body class: page-showcase-rigger-full) --- */
body.page-showcase-rigger-full :root{
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #f97316;
  --border: rgba(255, 255, 255, 0.08);
  /* Wide canvas so 1440px captures read at full width on large displays */
  --page-max: min(94vw, 90rem);
  --text-measure: min(52rem, 100%);
}
body.page-showcase-rigger-full *{ box-sizing: border-box; }
body.page-showcase-rigger-full body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
}
body.page-showcase-rigger-full header{
  padding: 2rem clamp(1rem, 3vw, 2rem) 1rem;
  max-width: var(--page-max);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
body.page-showcase-rigger-full header p:not(.meta){
  max-width: var(--text-measure);
}
body.page-showcase-rigger-full header h1{ font-size: 1.75rem; margin: 0 0 0.5rem; }
body.page-showcase-rigger-full header p{ color: var(--muted); margin: 0; font-size: 0.95rem; }
body.page-showcase-rigger-full .meta{
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
body.page-showcase-rigger-full nav.toc{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  max-width: var(--page-max);
  margin: 0 auto;
}
body.page-showcase-rigger-full nav.toc strong{ font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
body.page-showcase-rigger-full nav.toc ul{
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
body.page-showcase-rigger-full nav.toc a{ color: var(--accent); text-decoration: none; font-size: 0.9rem; }
body.page-showcase-rigger-full nav.toc a:hover{ text-decoration: underline; }
body.page-showcase-rigger-full main{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 3rem;
}
body.page-showcase-rigger-full section{
  margin-bottom: 3rem;
  scroll-margin-top: 5rem;
}
body.page-showcase-rigger-full section h2{
  font-size: 1.35rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.75rem;
  margin: 0 0 1rem;
}
body.page-showcase-rigger-full section h3{
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
  color: #e2e8f0;
}
body.page-showcase-rigger-full .card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
body.page-showcase-rigger-full .card:has(figure){
  padding: 1rem 1rem 1.15rem;
}
body.page-showcase-rigger-full .card p{ margin: 0 0 0.75rem; color: #cbd5e1; }
body.page-showcase-rigger-full .card p:last-child{ margin-bottom: 0; }
body.page-showcase-rigger-full .path{
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
body.page-showcase-rigger-full figure{
  margin: 0.75rem 0 0;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.card > h3 + p,
body.page-showcase-rigger-full .card > h3 + .path{
  max-width: var(--text-measure);
}
body.page-showcase-rigger-full figure:first-of-type{
  margin-top: 0.5rem;
}
body.page-showcase-rigger-full figure + figure{
  margin-top: 1.35rem;
}
body.page-showcase-rigger-full figure img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
body.page-showcase-rigger-full figcaption{
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.6) 0%, #020617 100%);
}
body.page-showcase-rigger-full .note{
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid #64748b;
  padding-left: 0.75rem;
  margin: 1rem 0;
}
/* Inline icons — paths match riggr/shared/icons.tsx (Lucide, MIT) */
body.page-showcase-rigger-full .icon-inline{
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--accent);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-showcase-rigger-full nav.toc a{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
body.page-showcase-rigger-full section h2{
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
body.page-showcase-rigger-full .card > h3{
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
@media print {
  body.page-showcase-rigger-full nav.toc{ position: static; }
  body.page-showcase-rigger-full .card{ break-inside: avoid; }
  body.page-showcase-rigger-full figure{ break-inside: avoid; }
}
  

/* --- Scoped: docs/demo/demo.html (body class: page-demo) --- */
body.page-demo {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  padding: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
body.page-demo h1{ font-size: 1.5rem; margin: 0 0 0.5rem; }
body.page-demo .lead{ color: var(--muted); margin: 0 0 1.5rem; font-size: 0.95rem; }
body.page-demo nav ul{
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
body.page-demo nav a{ color: var(--accent); text-decoration: none; }
body.page-demo nav a:hover{ text-decoration: underline; }
body.page-demo section{
  margin-bottom: 2.5rem;
  scroll-margin-top: 1rem;
}
body.page-demo h2{
  font-size: 1.15rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
  margin: 0 0 1rem;
}
body.page-demo .warn{
  color: var(--warn);
  font-size: 0.9rem;
  border-left: 3px solid var(--warn);
  padding-left: 0.75rem;
  margin: 0 0 1rem;
}
body.page-demo table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--card);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
body.page-demo th, body.page-demo td{
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
body.page-demo th{ color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
body.page-demo tr:last-child td{ border-bottom: none; }
body.page-demo a{ color: #7dd3fc; word-break: break-all; }
body.page-demo code{ font-size: 0.85em; background: #020617; padding: 0.1em 0.35em; border-radius: 0.25rem; }
body.page-demo .sub{ margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }
body.page-demo .pwd-callout{
  background: #14532d;
  border: 1px solid #22c55e;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
body.page-demo .pwd-callout strong{ color: #bbf7d0; display: block; margin-bottom: 0.35rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
body.page-demo .pwd-callout .pwd-value{
  font-family: ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  word-break: break-all;
}
body.page-demo .pwd-callout .pwd-note{ color: #86efac; font-size: 0.82rem; margin-top: 0.5rem; }
body.page-demo .railway-env{
  background: #172554;
  border: 1px solid #3b82f6;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
body.page-demo .railway-env strong.title{
  display: block;
  color: #93c5fd;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}
body.page-demo .railway-env table{ font-size: 0.82rem; margin-top: 0.5rem; }
body.page-demo .railway-env th{ font-size: 0.7rem; }
body.page-demo .railway-env code{ word-break: break-all; }
body.page-demo .copy-group{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
body.page-demo .pwd-callout .pwd-line{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
body.page-demo .copy-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  vertical-align: middle;
  line-height: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
body.page-demo .copy-btn:hover{
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}
body.page-demo .copy-btn:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body.page-demo .copy-btn svg{ width: 1rem; height: 1rem; }
body.page-demo .copy-btn.copied{
  color: #86efac;
  border-color: #22c55e;
}
  
