:root {
  --ink: #10151b;
  --ink-2: #151c24;
  --ink-3: #202a35;
  --paper: #f5f7f8;
  --white: #ffffff;
  --text: #17202a;
  --muted: #66717c;
  --line: #dbe1e6;
  --blue: #1976f3;
  --blue-deep: #0f4fb3;
  --red: #ff3b30;
  --gold: #ffb72c;
  --maxw: 1200px;
  --radius: 8px;
  --sans: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; min-width: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { margin: 0 auto; max-width: var(--maxw); padding: 0 28px; width: 100%; }

h1, h2, h3 { color: inherit; font-weight: 760; letter-spacing: 0; line-height: 1.02; }
h1 { font-size: clamp(48px, 6vw, 82px); max-width: 920px; }
h2 { font-size: clamp(32px, 4vw, 58px); max-width: 900px; }
h3 { font-size: 22px; line-height: 1.18; }
p { color: var(--muted); }
.dark p, .hero p, footer p, footer li, footer a { color: rgba(255,255,255,0.68); }

.site-header {
  background: rgba(255,255,255,0.93);
  border-bottom: 1px solid rgba(16,21,27,0.08);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav {
  align-items: center;
  display: flex;
  gap: 28px;
  min-height: 76px;
}
.logo { align-items: center; display: flex; margin-right: auto; }
.logo img { height: 36px; width: auto; }
.nav-links { align-items: center; display: flex; gap: 26px; list-style: none; }
.nav-links a {
  color: rgba(16,21,27,0.68);
  font-size: 14px;
  font-weight: 760;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 820;
  gap: 10px;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,0.28); color: var(--white); }
.btn-outline.light { border-color: rgba(16,21,27,0.18); color: var(--ink); }

.eyebrow {
  align-items: center;
  color: var(--blue-deep);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  gap: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.eyebrow::before {
  background: linear-gradient(90deg, var(--blue), var(--red), var(--gold));
  content: "";
  display: inline-block;
  height: 3px;
  width: 42px;
}

.hero {
  background: radial-gradient(circle at 72% 18%, rgba(25,118,243,0.26), transparent 26%),
    radial-gradient(circle at 84% 64%, rgba(255,183,44,0.17), transparent 24%),
    var(--ink);
  color: var(--white);
  min-height: 700px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
  position: absolute;
}
.hero-inner {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 700px;
  padding: 62px 28px 68px;
  position: relative;
}
.hero-copy { align-self: center; }
.hero h1 strong { color: var(--gold); font-weight: 760; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); }
.hero h1 span { display: block; }
.hero-sub {
  color: rgba(255,255,255,0.76);
  font-size: 20px;
  margin-top: 26px;
  max-width: 760px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 48px; }
.proof-strip {
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 800px;
  padding-top: 22px;
}
.proof-strip b {
  color: var(--white);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.proof-strip span { color: rgba(255,255,255,0.6); display: block; font-size: 14px; }

.proof-panel {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 82px 0;
}
.proof-grid {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.85fr 1.15fr;
}
.proof-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.proof-metrics div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 154px;
  padding: 24px;
}
.proof-metrics b {
  color: var(--ink);
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}
.proof-metrics span {
  color: var(--muted);
  display: block;
  font-size: 14.5px;
}

.evidence-rail {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.evidence-rail::before {
  background: linear-gradient(180deg, var(--blue), var(--red), var(--gold));
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 10px;
}
.evidence-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.05fr 0.95fr;
}
.evidence-ledger {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.ledger-row {
  display: grid;
  gap: 0;
  grid-template-columns: 170px 1fr;
}
.ledger-row + .ledger-row { border-top: 1px solid rgba(255,255,255,0.12); }
.ledger-row b {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 18px;
  text-transform: uppercase;
}
.ledger-row span {
  color: rgba(255,255,255,0.68);
  display: block;
  padding: 18px;
}
.artifact-stack {
  display: grid;
  gap: 14px;
}
.artifact {
  background: rgba(16,21,27,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.artifact h3 { font-size: 18px; margin-bottom: 10px; }
.artifact p { font-size: 14.5px; }
.dark .artifact,
.evidence-rail .artifact {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.case-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 280px;
  padding: 28px;
}
.case-card span {
  color: var(--blue-deep);
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.case-card h3 { margin-bottom: 14px; }
.case-card p { font-size: 14.5px; }
.case-card p + p { margin-top: 12px; }
.case-card ul {
  color: var(--muted);
  font-size: 14px;
  list-style: none;
  margin-top: 18px;
}
.case-card li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.case-card-large {
  min-height: 430px;
}
.case-card b {
  color: var(--text);
  font-weight: 780;
}

.package-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 238px;
  padding: 26px;
}
.package-card span {
  color: var(--blue-deep);
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.package-card h3 { margin-bottom: 14px; }
.package-card p { font-size: 14.5px; }
.dark-packages .package-card {
  background: var(--ink-2);
  border-color: rgba(255,255,255,0.1);
}
.dark-packages .package-card span { color: var(--gold); }

.artifact-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}
.artifact-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 190px;
  padding: 28px;
}
.artifact-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.artifact-card p { font-size: 14.5px; }
.compact-top { padding-top: 0; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.command-visual {
  align-self: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0,0,0,0.34);
  min-height: 560px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}
.command-visual::before {
  background: linear-gradient(180deg, var(--blue), var(--blue) 28%, var(--red) 28%, var(--red) 54%, var(--gold) 54%, var(--gold));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 8px;
}
.console-top {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  margin: 0 0 18px 8px;
  padding-bottom: 18px;
}
.console-top span, .system-row small {
  color: rgba(255,255,255,0.52);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pulse { background: var(--gold); border-radius: 999px; height: 10px; width: 10px; }
.system-map {
  display: grid;
  gap: 14px;
  margin-left: 8px;
}
.system-row {
  background: rgba(16,21,27,0.72);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px;
  padding: 18px;
}
.system-row strong { color: var(--white); display: block; font-size: 17px; margin-bottom: 8px; }
.bar {
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
}
.bar i { display: block; height: 100%; }
.blue i { background: var(--blue); width: 86%; }
.red i { background: var(--red); width: 72%; }
.gold i { background: var(--gold); width: 64%; }
.node-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0 8px;
}
.node-grid span {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.68);
  font-family: var(--mono);
  font-size: 11px;
  padding: 12px 8px;
  text-align: center;
  text-transform: uppercase;
}

section { padding: 104px 0; }
.white { background: var(--white); }
.dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; gap: 20px; margin-bottom: 46px; max-width: 900px; }
.section-head p { font-size: 18px; max-width: 760px; }
.split {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: 0.9fr 1.1fr;
}
.body-stack { display: grid; gap: 18px; }
.body-stack p { font-size: 18px; }

.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}
.service-tile {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 270px;
  padding: 30px;
}
.dark .service-tile {
  background: var(--ink-2);
  border-color: rgba(255,255,255,0.1);
}
.service-tile span {
  color: var(--blue);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 30px;
}
.dark .service-tile span { color: var(--gold); }
.service-tile h3 { margin-bottom: 16px; }
.service-tile p { font-size: 15px; }

.industry-band {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, 1fr);
}
.industry-band div {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 152px;
  padding: 24px 18px;
}
.industry-band div:nth-child(6n) { border-right: 0; }
.industry-band b { color: var(--ink); display: block; line-height: 1.15; margin-bottom: 10px; }
.industry-band span { color: var(--muted); display: block; font-size: 13px; }

.leader-strip {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.leader-photo {
  aspect-ratio: 4 / 4.35;
  background: var(--ink);
  overflow: hidden;
}
.leader-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}
.leader-copy { padding: 26px; }
.role {
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin: 9px 0 14px;
  text-transform: uppercase;
}
.leader-copy p { font-size: 14.5px; }

.profile {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 58px;
  grid-template-columns: 340px 1fr;
  padding: 68px 0;
}
.profile:first-child { border-top: 0; padding-top: 0; }
.profile-photo { border-radius: var(--radius); overflow: hidden; }
.profile-photo img { aspect-ratio: 4 / 4.6; height: 100%; object-fit: cover; object-position: center top; width: 100%; }
.profile-copy p { font-size: 17px; margin-top: 16px; }
.credentials {
  display: grid;
  gap: 0;
  margin-top: 28px;
}
.credentials span {
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  padding: 11px 0;
}

.method {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}
.method-step {
  border-top: 3px solid var(--blue);
  min-height: 172px;
  padding-top: 18px;
}
.method-step:nth-child(2) { border-color: var(--red); }
.method-step:nth-child(3) { border-color: var(--gold); }
.method-step:nth-child(4) { border-color: var(--blue-deep); }
.method-step:nth-child(5) { border-color: var(--ink-3); }
.method-step span { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.method-step h3 { font-size: 19px; margin: 9px 0; }
.method-step p { font-size: 14px; }

.page-hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 112px 0 86px;
  position: relative;
}
.page-hero::after {
  background: linear-gradient(90deg, var(--blue), var(--red), var(--gold));
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
}
.page-hero p:not(.eyebrow) {
  color: rgba(255,255,255,0.68);
  font-size: 20px;
  margin-top: 24px;
  max-width: 760px;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}
.diagnostic-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.diagnostic-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 260px;
  padding: 30px;
}
.diagnostic-card span {
  color: var(--blue-deep);
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.diagnostic-card h3 { margin-bottom: 14px; }
.diagnostic-card p { font-size: 15px; }
.contact-aside {
  background: var(--ink);
  color: var(--white);
  padding: 34px;
}
.contact-aside p { margin-top: 16px; }
form { padding: 34px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 780; margin-bottom: 8px; }
input, select, textarea {
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}
textarea { min-height: 138px; resize: vertical; }

.cta-band {
  background: linear-gradient(135deg, var(--ink), #0d203f);
  color: var(--white);
  padding: 84px 0;
}
.cta-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}
.cta-inner p { font-size: 18px; margin-top: 14px; max-width: 680px; }

footer { background: #0b0f14; color: var(--white); padding: 58px 0 28px; }
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
}
footer .logo img {
  background: var(--white);
  border-radius: 4px;
  padding: 6px 8px;
}
footer h4 { font-size: 14px; margin-bottom: 14px; text-transform: uppercase; }
footer ul { list-style: none; }
footer li { font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 20px;
}

@media (max-width: 1040px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px 28px; }
  .nav-links { flex-wrap: wrap; gap: 14px 20px; }
  .hero-inner, .split, .profile, .contact-panel, .proof-grid, .evidence-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding-top: 78px; }
  .command-visual { min-height: 480px; }
  .service-grid, .leader-strip, .footer-grid, .proof-metrics, .case-grid, .package-grid, .artifact-grid, .diagnostic-grid { grid-template-columns: 1fr 1fr; }
  .industry-band { grid-template-columns: repeat(3, 1fr); }
  .method { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  section { padding: 76px 0; }
  .nav { gap: 12px; padding: 14px 20px 16px; }
  .nav-links {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 350px;
    width: 100%;
  }
  .nav-links a { display: block; font-size: 12px; text-align: center; }
  .nav .btn { max-width: 350px; }
  .hero-inner {
    display: block;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
  .hero-copy, .proof-strip, .command-visual, .system-row { max-width: 350px; width: 100%; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); max-width: 350px; }
  .hero-sub { font-size: 18px; }
  .hero-sub, .proof-strip span, .system-row p { overflow-wrap: break-word; }
  .proof-strip, .service-grid, .leader-strip, .industry-band, .method, .footer-grid, .proof-metrics, .case-grid, .package-grid, .artifact-grid, .diagnostic-grid { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 1fr; }
  .command-visual { margin-left: 0; margin-top: 44px; min-height: auto; padding: 18px; width: 100%; }
  .system-row { padding: 16px; }
  .node-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .page-hero h1,
  .page-hero p:not(.eyebrow),
  .contact-aside h2,
  .contact-aside p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .contact-panel { width: 100%; }
  .contact-aside, form { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .logo img { height: 30px; }
}

/* Insights articles */
.post-body { margin: 0 auto; max-width: 760px; }
.post-body p { color: #3d4854; font-size: 17px; line-height: 1.75; margin-bottom: 22px; }
.post-body h2 { color: #10151b; font-size: 26px; margin: 44px 0 16px; }
.post-body h3 { color: #10151b; font-size: 20px; margin: 32px 0 12px; }
.post-body ul { margin: 0 0 22px 22px; }
.post-body li { color: #3d4854; font-size: 16.5px; line-height: 1.65; margin-bottom: 10px; }
.post-body li b { color: #10151b; }
.post-meta { color: #66717c; font-size: 14px; letter-spacing: 0.04em; margin-top: 18px; text-transform: uppercase; }
.post-cta { background: #f5f7f8; border-left: 4px solid #1976f3; border-radius: 8px; margin-top: 40px; padding: 24px 28px; }
.post-cta p { margin-bottom: 12px; }
