.elijah-governance-system{
  --bg:#090c10;
  --surface:#11161c;
  --surface-2:#151b22;
  --ink:#f1f3f6;
  --muted:#9ca6b2;
  --line:#27313c;
  --blue:#5e8df6;
  --blue-2:#8cabff;
  --amber:#d0a35d;
  --amber-2:#e7bd78;
  --amber-soft:rgba(208,163,93,.10);
  --red:#d56e68;
  --red-soft:rgba(213,110,104,.08);
  --green:#74b89a;
  --green-soft:rgba(116,184,154,.08);
  --max:1180px;
  --shadow:0 22px 60px rgba(0,0,0,.34);

  position:relative;
  overflow:hidden;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}

.elijah-governance-system::before{
  content:none;
}

.elijah-governance-system > *{
  position:relative;
  z-index:1;
}

.elijah-governance-system *,
.elijah-governance-system *::before,
.elijah-governance-system *::after{
  box-sizing:border-box;
}

.elijah-governance-system a{
  color:inherit;
  text-decoration:none;
}

.elijah-governance-system .container{
  width:min(calc(100% - 40px),var(--max));
  margin:0 auto;
}

.elijah-governance-system .eyebrow{
  text-transform:uppercase;
  letter-spacing:0;
  font-size:12px;
  font-weight:760;
  color:var(--amber-2);
}

.elijah-governance-system .hero{
  padding:82px 0 70px;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
  gap:46px;
  align-items:center;
}

.elijah-governance-system .hero-copy{
  min-width:0;
}

.elijah-governance-system .hero h1{
  margin:14px 0 22px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:64px;
  line-height:1.02;
  letter-spacing:0;
  max-width:780px;
  text-wrap:balance;
}

.elijah-governance-system .hero p{
  margin:0;
  color:var(--muted);
  font-size:19px;
  max-width:700px;
}

.elijah-governance-system .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.elijah-governance-system .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:14px;
  font-weight:680;
  transition:.2s ease;
}

.elijah-governance-system .btn:hover{
  transform:translateY(-1px);
}

.elijah-governance-system .btn-primary{
  background:var(--amber);
  border-color:var(--amber);
  color:#111;
}

.elijah-governance-system .btn-secondary{
  background:rgba(255,255,255,.03);
  color:var(--ink);
}

.elijah-governance-system .diagnostic-board{
  justify-self:end;
  width:100%;
  max-width:470px;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  background:
    linear-gradient(155deg,#171b20,#0e1319);
  box-shadow:var(--shadow);
}

.elijah-governance-system .board-label{
  color:var(--amber-2);
  text-transform:uppercase;
  letter-spacing:0;
  font-size:12px;
  font-weight:760;
  margin-bottom:20px;
}

.elijah-governance-system .diagnostic-chain{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  align-items:stretch;
}

.elijah-governance-system .diag-node{
  min-height:108px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 12px;
  background:rgba(255,255,255,.018);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.elijah-governance-system .diag-node small{
  color:var(--muted);
  font-size:10px;
  letter-spacing:0;
  text-transform:uppercase;
}

.elijah-governance-system .diag-node strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  font-weight:500;
  line-height:1.1;
}

.elijah-governance-system .diag-node.symptom{
  border-color:rgba(213,110,104,.22);
  background:var(--red-soft);
}

.elijah-governance-system .diag-node.logic{
  border-color:rgba(208,163,93,.25);
  background:var(--amber-soft);
}

.elijah-governance-system .diag-node.verify{
  border-color:rgba(116,184,154,.24);
  background:var(--green-soft);
}

.elijah-governance-system .board-note{
  margin-top:14px;
  padding:16px 18px;
  border-radius:15px;
  border:1px solid rgba(94,141,246,.18);
  background:rgba(94,141,246,.05);
  color:#b9c8eb;
  font-size:13px;
}

.elijah-governance-system .section{
  padding:108px 0;
}

.elijah-governance-system .section-alt{
  background:#0e1216;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.elijah-governance-system .section-header{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:64px;
  margin-bottom:52px;
}

.elijah-governance-system .section-header h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:48px;
  line-height:1.04;
  letter-spacing:0;
}

.elijah-governance-system .section-header p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  max-width:700px;
}

.elijah-governance-system .boundary-compare{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.elijah-governance-system .boundary-panel{
  padding:32px;
  border-radius:24px;
  border:1px solid var(--line);
  background:var(--surface);
}

.elijah-governance-system .boundary-panel.project{
  border-color:rgba(94,141,246,.20);
  background:linear-gradient(155deg,rgba(94,141,246,.06),#10151a);
}

.elijah-governance-system .boundary-panel.governance{
  border-color:rgba(208,163,93,.24);
  background:linear-gradient(155deg,rgba(208,163,93,.07),#111519);
}

.elijah-governance-system .boundary-panel h3{
  margin:12px 0 14px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:500;
}

.elijah-governance-system .boundary-panel p{
  color:var(--muted);
  margin:0 0 18px;
}

.elijah-governance-system .boundary-panel ul{
  margin:0;
  padding-left:20px;
  color:#c3c9cf;
}

.elijah-governance-system .boundary-panel li{
  margin:8px 0;
}

.elijah-governance-system .logic-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.elijah-governance-system .logic-card{
  min-height:280px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface);
  position:relative;
  overflow:hidden;
}

.elijah-governance-system .logic-card::after{
  content:none;
}

.elijah-governance-system .logic-card small{
  color:var(--amber);
  font-weight:750;
  letter-spacing:0;
}

.elijah-governance-system .logic-card h3{
  margin:36px 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  font-weight:500;
}

.elijah-governance-system .logic-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.elijah-governance-system .logic-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}

.elijah-governance-system .logic-tags span{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:12px;
  color:#c6c1b7;
  background:rgba(255,255,255,.02);
}

.elijah-governance-system .diagnosis-wrap{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:28px;
}

.elijah-governance-system .diagnosis-copy{
  padding:40px;
  border:1px solid var(--line);
  border-radius:26px;
  background:var(--surface);
}

.elijah-governance-system .diagnosis-copy h3{
  margin:12px 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:34px;
  line-height:1.08;
  font-weight:500;
}

.elijah-governance-system .diagnosis-copy p{
  margin:0 0 18px;
  color:var(--muted);
}

.elijah-governance-system .symptom-list{
  display:grid;
  gap:10px;
}

.elijah-governance-system .symptom-list .symptom{
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.015);
}

.elijah-governance-system .symptom-list .symptom strong{
  display:block;
  margin-bottom:5px;
  color:#e5e8ec;
}

.elijah-governance-system .symptom-list .symptom span{
  color:var(--muted);
  font-size:14px;
}

.elijah-governance-system .tool-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.elijah-governance-system .tool-card{
  padding:26px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(155deg,#13191f,#0f1419);
}

.elijah-governance-system .tool-card small{
  color:var(--amber-2);
  font-weight:760;
  letter-spacing:0;
}

.elijah-governance-system .tool-card h3{
  margin:14px 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-weight:500;
}

.elijah-governance-system .tool-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.elijah-governance-system .two-level{
  display:grid;
  grid-template-columns:1fr 120px 1fr;
  gap:22px;
  align-items:stretch;
}

.elijah-governance-system .level-card{
  padding:36px;
  border-radius:24px;
  border:1px solid var(--line);
  background:var(--surface);
}

.elijah-governance-system .level-card.project{
  border-color:rgba(94,141,246,.20);
}

.elijah-governance-system .level-card.org{
  border-color:rgba(208,163,93,.22);
}

.elijah-governance-system .level-card h3{
  margin:12px 0 14px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  font-weight:500;
}

.elijah-governance-system .level-card p{
  color:var(--muted);
  margin:0;
}

.elijah-governance-system .level-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--amber);
  font-size:40px;
}

.elijah-governance-system .level-note{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:#c6cbd1;
  font-size:14px;
}

.elijah-governance-system .closure-flow{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}

.elijah-governance-system .closure-node{
  min-height:130px;
  padding:20px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.016);
}

.elijah-governance-system .closure-node small{
  color:var(--muted);
  font-size:11px;
  letter-spacing:0;
}

.elijah-governance-system .closure-node h3{
  margin:18px 0 6px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  font-weight:500;
}

.elijah-governance-system .closure-node p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.elijah-governance-system .closure-node.final{
  border-color:rgba(116,184,154,.25);
  background:var(--green-soft);
}

.elijah-governance-system .closing{
  margin-bottom:90px;
  padding:48px;
  border-radius:30px;
  border:1px solid var(--line);
  background:
    linear-gradient(145deg,#171d24,#10151a);
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:40px;
  align-items:end;
}

.elijah-governance-system .closing h2{
  margin:12px 0 16px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:48px;
  line-height:1.02;
  font-weight:500;
}

.elijah-governance-system .closing p{
  margin:0;
  color:var(--muted);
}

.elijah-governance-system .closing-links{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
}

@media(max-width:1100px){
  .elijah-governance-system .hero{
    grid-template-columns:1fr;
    gap:32px;
  }

  .elijah-governance-system .diagnostic-board{
    justify-self:start;
    max-width:680px;
  }

  .elijah-governance-system .diagnostic-chain{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:980px){
  .elijah-governance-system .section-header{
    grid-template-columns:1fr;
    gap:20px;
  }

  .elijah-governance-system .logic-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .elijah-governance-system .diagnosis-wrap,
  .elijah-governance-system .closing{
    grid-template-columns:1fr;
  }

  .elijah-governance-system .two-level{
    grid-template-columns:1fr;
  }

  .elijah-governance-system .level-arrow{
    transform:rotate(90deg);
  }

  .elijah-governance-system .closure-flow{
    grid-template-columns:repeat(3,1fr);
  }

  .elijah-governance-system .closing-links{
    justify-content:flex-start;
  }
}

@media(max-width:720px){
  .elijah-governance-system .container{
    width:min(calc(100% - 28px),var(--max));
  }

  .elijah-governance-system .hero h1{
    font-size:44px;
  }

  .elijah-governance-system .section{
    padding:78px 0;
  }

  .elijah-governance-system .boundary-compare,
  .elijah-governance-system .tool-grid,
  .elijah-governance-system .logic-grid{
    grid-template-columns:1fr;
  }

  .elijah-governance-system .diagnostic-chain{
    grid-template-columns:repeat(2,1fr);
  }

  .elijah-governance-system .closure-flow{
    grid-template-columns:repeat(2,1fr);
  }

  .elijah-governance-system .closing{
    padding:30px;
  }
}

.elijah-governance-system .media-section{
  padding:28px 0 18px;
}

.elijah-governance-system .media-placeholder{
  min-height:220px;
  border:1px dashed rgba(231,189,120,.35);
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:32px;
  background:linear-gradient(155deg,rgba(208,163,93,.06),rgba(94,141,246,.03));
  color:#cbb48a;
  font-size:15px;
}

.elijah-governance-system .image-placeholder{
  font-weight:600;
  letter-spacing:0;
}


.elijah-governance-system .media-figure{
  margin:0;
}

.elijah-governance-system .governance-image{
  border:1px solid rgba(231,189,120,.18);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(155deg,rgba(208,163,93,.04),rgba(94,141,246,.03));
  box-shadow:0 22px 60px rgba(0,0,0,.24);
}

.elijah-governance-system .governance-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:24px;
}

/* The content controls its own width and spacing in the shared page template. */
body .site-main:has(.elijah-governance-system) {
  width: 100%;
  max-width: none;
  padding: 0;
}

.elijah-governance-system :is(.hero, .section-header, .diagnostic-chain,
  .boundary-compare, .logic-grid, .diagnosis-wrap, .tool-grid, .two-level,
  .closure-flow, .closing) > * {
  min-width: 0;
}

.elijah-governance-system :is(p, a, small, span, strong, li) {
  overflow-wrap: anywhere;
}

.elijah-governance-system .btn {
  text-align: center;
  padding-block: 10px;
}

@media (max-width: 1100px) {
  .elijah-governance-system .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 720px) {
  .elijah-governance-system .hero {
    padding-top: 58px;
  }

  .elijah-governance-system .hero h1 {
    font-size: 40px;
  }

  .elijah-governance-system :is(.section-header, .closing) h2 {
    font-size: 32px;
  }

  .elijah-governance-system :is(.diagnostic-board, .boundary-panel,
    .diagnosis-copy, .level-card) {
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .elijah-governance-system :is(.diagnostic-chain, .closure-flow) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .elijah-governance-system .btn {
    transition: none;
    transform: none;
  }
}
