:root{
  --bg0:#0b1220;
  --bg1:#0f1a2f;
  --card:#111c33;
  --card2:#0e1730;
  --text:#e6edf6;
  --muted:#b7c3d6;
  --border:rgba(255,255,255,.10);
  --accent:#7aa2ff;
  --accent2:#9bd3ff;
  --max: 980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(122,162,255,.20), transparent 55%),
              radial-gradient(1000px 600px at 80% 0%, rgba(155,211,255,.14), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  line-height:1.55;
}

a{color:var(--accent2);text-decoration:none}
a:hover{text-decoration:underline}

/* FIXED BACKGROUND ANCHOR */
main{
  position:relative;
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px;
}

.header{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.75);
  border-bottom: 1px solid var(--border);
}
.header .wrap{display:flex;align-items:center;justify-content:space-between;height:62px}
.brand{display:flex;flex-direction:column;gap:2px}
.brand strong{letter-spacing:.06em}
.brand small{color:var(--muted);font-size:.85rem}
.nav a{color:var(--muted);font-weight:600;margin-left:16px}
.nav a:hover{color:var(--text);text-decoration:none}

.hero{
  margin:22px 0 16px;
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.hero h1{margin:0 0 8px;font-size: clamp(1.7rem, 2.4vw, 2.25rem);letter-spacing:-.02em}
.hero p{margin:0;color:var(--muted);max-width:78ch}
.kicker{
  display:inline-block;
  font-size:.78rem;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-bottom:28px;
}
@media (min-width:900px){
  .grid{grid-template-columns:1.35fr .65fr;}
}

.card{
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px 18px;
  background: rgba(17,28,51,.70);
}
.card h2{margin:0 0 10px;font-size:1.15rem}
.card p{margin:0 0 12px;color:var(--muted)}
.list{margin:0;padding-left:18px;color:var(--muted)}
.list li{margin:8px 0}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pill{
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 10px;
  font-size:.85rem;
  color:var(--muted);
  background: rgba(0,0,0,.10);
}

.post-title{margin:0 0 8px;font-size:1.35rem;letter-spacing:-.01em}
.meta{margin:0 0 14px;color:var(--muted);font-size:.92rem}
.body p{margin:0 0 12px;color:var(--text)}
.body .lines{margin:10px 0 14px;padding-left:18px;color:var(--text)}
.body .lines li{margin:7px 0;color:var(--text)}
.hr{height:1px;background:var(--border);margin:16px 0}
.footer{border-top:1px solid var(--border);padding:18px 0;color:var(--muted)}
.btnrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  background: rgba(122,162,255,.18);
  border: 1px solid rgba(122,162,255,.30);
  color: var(--text);
  font-weight:700;
}
.btn:hover{text-decoration:none;filter:brightness(1.05)}

/* LegalShield Card */
.legalshield-banner{
  margin:32px 0;
  background:#3a3a3a;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
}
.legalshield-link{
  display:block;
  padding:14px 20px;
  text-decoration:none;
  color:#ffffff;
}
.legalshield-row{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
}
.legalshield-left{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.85;
}
.legalshield-center{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:center;
  font-size:16px;
}
.shield-svg{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
}
.brand-names strong{font-weight:600;}
.legalshield-right{
  text-align:right;
  font-weight:600;
  font-size:14px;
  opacity:.9;
}
.legalshield-link:hover{filter:brightness(1.05)}

.hero-ops{
  position:relative;
  background: linear-gradient(rgba(8,22,40,.85),rgba(8,22,40,.85)),
              url("/series/assets/ops-architecture-bg.jpg") center / cover no-repeat;
  color:#ffffff;
  padding:140px 20px 120px;
  text-align:center;
}
.hero-title{
  font-size:42px;
  font-weight:700;
  letter-spacing:-.02em;
  margin-bottom:24px;
  line-height:1.2;
}
.hero-sub{
  font-size:18px;
  max-width:720px;
  margin:0 auto 28px;
  opacity:.9;
  line-height:1.6;
}
.hero-structure{
  font-size:15px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.75;
  line-height:1.8;
}

.post-image{
  width:100%;
  height:auto;
  border-radius:12px;
  margin-bottom:24px;
}

/* FIXED BACKGROUND THUMBNAILS */
.series-background{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-1;
}

.bg-thumb{
  position:absolute;
  width:160px;
  opacity:.28;
  border-radius:12px;
}

/* LEFT */
.t1{top:140px;left:-40px;}
.t2{top:360px;left:-60px;}
.t3{top:620px;left:-50px;}
.t4{top:880px;left:-40px;}

/* RIGHT */
.t5{top:120px;right:-50px;}
.t6{top:360px;right:-40px;}
.t7{top:600px;right:-60px;}
.t8{top:840px;right:-50px;}

/* LOWER */
.t9{bottom:400px;left:-40px;}
.t10{bottom:260px;right:-50px;}
.t11{bottom:160px;left:-60px;}
.t12{bottom:80px;right:-40px;}
.t13{bottom:-20px;left:20%;}
