:root{
  --bg:#070a0f;
  --panel:#0b1220;
  --panel2:#0a0f18;
  --text:#e7eefc;
  --muted:#9fb0cc;
  --line:#17243b;
  --pill:#0b1528;
  --pill2:#0c1931;
  --accent:#f6c34a;
  --shadow: 0 10px 40px rgba(0,0,0,.55);
  color-scheme: dark;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  background: var(--bg);
  color:var(--text);
  position: relative;
}

/* Ambient glow */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(30,60,120,.22), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(246,195,74,.10), transparent 55%);
}

body::after{
  content:"";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to top, rgba(30,60,120,.18), transparent 70%);
}

/* Layout */
.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position: relative;
  z-index: 1;
}

main{
  flex:1 0 auto;
}

/* Header */
/* Header */
header{
  position:sticky;
  top:0;
  z-index:10;
  background: linear-gradient(to bottom, rgba(7,10,15,.92), rgba(7,10,15,.60));
  backdrop-filter: blur(10px);
  border-bottom:0;               /* no full-width line */
}

/* the divider is now the same width as .wrap, and only 1px tall */
header .wrap{
  border-bottom:1px solid rgba(23,36,59,.55);
}

/* REMOVE default h1/h2 spacing inside header */
header h1,
header h2{
  margin:0;
}

.wrap{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.topbar{
  padding:16px 0 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(246,195,74,.10);
}

.subtitle{
  margin-top:-4px;
  color:var(--muted);
  font-size:12px;
}

/* Infrastructure link (default: normal flow) */
.infra-link{
  font-size:12px;
  text-decoration:none;
  color:var(--muted);
  opacity:.75;
  margin-top:4px;
}

.infra-link:hover{
  opacity:1;
  text-decoration:underline;
  color:var(--text);
}

/* Nav */
.navcenter{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  padding-bottom:8px;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(23,36,59,.85);
  background: linear-gradient(to bottom, rgba(11,21,40,.85), rgba(11,21,40,.55));
  color:var(--text);
  text-decoration:none;
  font-size:13px;
}

.pill:hover{
  background: linear-gradient(to bottom, rgba(12,25,49,.9), rgba(12,25,49,.55));
}

.pill.active{
  border-color: rgba(246,195,74,.55);
}

/* Cards */
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  padding:22px 0 26px;
}

.card{
  background: linear-gradient(to bottom, rgba(11,18,32,.75), rgba(10,15,24,.55));
  border:1px solid rgba(23,36,59,.8);
  border-radius:16px;
  box-shadow: var(--shadow);
}

.card .pad{padding:18px}

.h1{
  font-size:16px;
  font-weight:800;
  margin:0 0 10px;
}

.h2{
  font-size:14px;
  font-weight:700;
  margin:0 0 8px;
}

.muted{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.55;
}

.hr{
  height:1px;
  background:rgba(23,36,59,.8);
  margin:14px 0;
}

/* Footer */
footer{
  border-top:1px solid rgba(23,36,59,.55);
  background: rgba(7,10,15,.65);
  margin-top:26px;
}

.footerwrap{
  width:min(1100px, 92vw);
  margin:0 auto;
  padding:14px 0;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:12px;
  flex-wrap:wrap;
}

.footerlinks{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.footerlinks a{
  color:var(--muted);
  text-decoration:none;
}

.footerlinks a:hover{
  color:var(--text);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px){
  .grid{
    grid-template-columns:1fr;
  }
}

/* Desktop: park "Fuel the Infrastructure" top-right */
@media (min-width: 641px){
  .topbar{ position: relative; }

  .infra-link{
    position: absolute;
    top: 16px;
    right: 0;
    margin-top: 0;
    white-space: nowrap;
  }
}

/* Mobile */
@media (max-width: 640px){

  .topbar{
    padding:14px 0 10px;
  }

  .brand{
    font-size:14px;
  }

  .subtitle{
    font-size:11px;
  }

  .pill{
    font-size:12px;
    padding:8px 12px;
  }

  .infra-link{
    position: static;
    display:block;
    text-align:center;
    margin-top:6px;
  }

  .card .pad{
    padding:16px;
  }
}
/*1*/