/* GUIDE_00 // NEO_CITIES RELAY
   Static HTML/CSS. No JS. No external fonts.
   Intent: "in-world terminal" from a future resistance relay.
*/

:root{
  --bg: #07060c;
  --bg2:#0b0920;
  --ink:#e9e7ff;
  --muted:#a7a3d9;
  --dim:#7f7aa8;
  --neon:#8af7ff;
  --neon2:#ff58d1;
  --warn:#ffd36b;
  --ok:#7dff9a;
  --line: rgba(138,247,255,.18);
  --glass: rgba(13, 11, 28, .68);
  --glass2: rgba(10, 9, 20, .82);
  --shadow: rgba(0,0,0,.55);
  --radius: 16px;
  --radius2: 22px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 700px at 30% 0%, rgba(255,88,209,.12), transparent 60%),
              radial-gradient(1000px 600px at 80% 10%, rgba(138,247,255,.10), transparent 55%),
              linear-gradient(180deg, var(--bg2), var(--bg));
  color:var(--ink);
  font-family:var(--sans);
  letter-spacing:.2px;
}

.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip:focus{
  left:12px; top:12px;
  width:auto;height:auto;
  padding:10px 12px;
  background:#000;
  border:1px solid var(--neon);
  border-radius:10px;
  z-index:9999;
  color:var(--ink);
  font-family:var(--mono);
}

.bg-grid{
  position:fixed; inset:0;
  background-image:
    linear-gradient(to right, rgba(138,247,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138,247,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 20%, rgba(0,0,0,.9), rgba(0,0,0,.35) 55%, transparent 80%);
  pointer-events:none;
  opacity:.55;
}

.scanlines{
  position:fixed; inset:0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.03),
    rgba(255,255,255,.03) 1px,
    rgba(0,0,0,.00) 3px,
    rgba(0,0,0,.00) 6px
  );
  pointer-events:none;
  mix-blend-mode: overlay;
  opacity:.22;
}

.vignette{
  position:fixed; inset:0;
  background: radial-gradient(circle at 50% 20%, transparent 30%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.80) 100%);
  pointer-events:none;
}

.app{
  min-height:100%;
  padding:18px 16px 34px;
}

.topbar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(13,11,28,.80), rgba(10,9,20,.65));
  border-radius: var(--radius2);
  box-shadow: 0 10px 40px var(--shadow);
  backdrop-filter: blur(8px);
}

.topbar__left,.topbar__right{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-family:var(--mono);
  font-size:12px;
  color:var(--muted);
}
.topbar__right{justify-content:flex-end}

.sig{white-space:nowrap}
.hi{color:var(--neon)}
.ok{color:var(--ok)}
.warn{color:var(--warn)}

.title{
  text-align:center;
  font-family:var(--mono);
}
.title__mark{
  display:block;
  font-weight:800;
  letter-spacing:2px;
  color:var(--ink);
}
.title__sub{
  display:block;
  font-size:12px;
  color:var(--muted);
  letter-spacing:1.4px;
  margin-top:2px;
}

.frame{
  margin-top:14px;
  display:grid;
  grid-template-columns: 320px minmax(0, 1fr) 320px;
  gap:14px;
  align-items:start;
}

.pane{
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  border-radius: var(--radius2);
  box-shadow: 0 12px 50px var(--shadow);
  backdrop-filter: blur(10px);
  overflow:hidden;
}

.pane__title{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  font-family:var(--mono);
  color:var(--muted);
  letter-spacing:1px;
  font-size:12px;
  background: linear-gradient(90deg, rgba(138,247,255,.06), rgba(255,88,209,.05));
}

.pane--status, .pane--aux{
  position:sticky;
  top:16px;
}

.pane--status, .pane--aux{
  max-height: calc(100vh - 36px);
  overflow:auto;
}

.pane--main{
  padding:16px;
}

.card{
  margin:14px;
  padding:12px 12px;
  border:1px solid rgba(138,247,255,.14);
  border-radius: var(--radius);
  background: rgba(8,7,16,.45);
}

.card--small{padding:10px 12px}

.card__label{
  font-family:var(--mono);
  font-size:11px;
  color:var(--dim);
  letter-spacing:1px;
  margin-bottom:6px;
}
.card__value{
  font-family:var(--mono);
  font-size:13px;
  color:var(--ink);
  line-height:1.35;
}
.card__summary{
  cursor:pointer;
  font-family:var(--mono);
  font-size:12px;
  color:var(--neon);
  letter-spacing:1px;
}
.card__body{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.note{
  margin-top:10px;
  padding:8px 10px;
  border-left:3px solid var(--neon2);
  background: rgba(255,88,209,.08);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.steps{
  margin:8px 0 0 18px;
  padding:0;
  font-family:var(--mono);
  font-size:12px;
  color:var(--muted);
}
.steps li{margin:6px 0}

.cmds{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.cmds a{
  display:inline-block;
  padding:7px 9px;
  border-radius: 12px;
  border:1px solid rgba(138,247,255,.20);
  background: rgba(138,247,255,.06);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration:none;
}
.cmds a:hover, .cmds a:focus{
  border-color: rgba(255,88,209,.35);
  outline:none;
}

.hero{
  padding:18px 18px 8px;
  border:1px solid rgba(138,247,255,.14);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(138,247,255,.06), rgba(255,88,209,.05));
}

.hero__kicker{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:1px;
  color:var(--muted);
}
.hero h1{
  margin:10px 0 8px;
  font-family:var(--mono);
  letter-spacing:2px;
  font-size:40px;
  line-height:1.05;
}
.hero__lede{
  margin:0;
  max-width: 78ch;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.hero__cols{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.hero__box{
  border:1px solid rgba(138,247,255,.14);
  border-radius: var(--radius);
  padding:12px 12px;
  background: rgba(0,0,0,.20);
}
.hero__boxTitle{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:1px;
  color:var(--neon);
  margin-bottom:6px;
}
.divider{
  margin:16px 0 6px;
  display:flex;
  gap:10px;
  justify-content:center;
  color:var(--neon2);
  opacity:.8;
  font-family:var(--mono);
}

.toc{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid rgba(138,247,255,.14);
  border-radius: var(--radius2);
  background: rgba(8,7,16,.35);
}
.toc h2{
  margin:0 0 6px;
  font-family:var(--mono);
  letter-spacing:1.2px;
}
.toc__hint{
  margin:0 0 12px;
  color:var(--muted);
  font-size:13px;
}
.toc__list{
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
}
.toc__item{
  display:block;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(138,247,255,.18);
  background: rgba(138,247,255,.04);
  text-decoration:none;
  color: var(--ink);
  font-family:var(--mono);
  font-size: 13px;
}
.toc__item:hover, .toc__item:focus{
  border-color: rgba(255,88,209,.40);
  outline:none;
}

.chapter{
  margin-top:14px;
  padding:16px 16px 12px;
  border:1px solid rgba(138,247,255,.14);
  border-radius: var(--radius2);
  background: rgba(0,0,0,.20);
}

.chapter__head{
  padding-bottom:10px;
  border-bottom:1px dashed rgba(138,247,255,.22);
  margin-bottom:12px;
}
.chapter__kicker{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:1px;
  color:var(--muted);
}
.chapter h2{
  margin:8px 0 6px;
  font-family:var(--mono);
  font-size:22px;
  letter-spacing:.6px;
}
.sep{color:var(--neon2)}
.chapter__meta{
  font-family:var(--mono);
  font-size:11px;
  color:var(--dim);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.dot{opacity:.75}

.chapter__body{
  max-width: 85ch;
}
.chapter__body p{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.chapter__body em{color:var(--neon)}
.chapter__body strong{color:var(--warn)}
.chapter__body a{color:var(--neon); text-decoration:underline}
.chapter__body a:hover{color:var(--neon2)}

.subhead{
  margin:16px 0 10px;
  font-family:var(--mono);
  letter-spacing:1px;
  font-size:14px;
  color:var(--neon2);
}

.list{
  margin: 0 0 12px 18px;
  padding: 0;
  color: var(--ink);
}
.list li{
  margin: 6px 0;
  line-height: 1.6;
  font-size: 15px;
}

.chapter__foot{
  margin-top:14px;
  padding-top:10px;
  border-top:1px dashed rgba(138,247,255,.22);
}
.to-top{
  font-family:var(--mono);
  font-size:12px;
  color:var(--muted);
  text-decoration:none;
}
.to-top:hover{color:var(--ink)}

.footer{
  margin-top:14px;
  padding:18px 18px;
  border:1px solid rgba(255,88,209,.18);
  border-radius: var(--radius2);
  background: rgba(255,88,209,.05);
  max-width: 95ch;
}
.footer h2{
  margin:0 0 10px;
  font-family:var(--mono);
  letter-spacing:1px;
}
.footer p{
  margin:0 0 10px;
  color:var(--ink);
  line-height:1.7;
}
.footer__sig{
  font-family:var(--mono);
  color:var(--muted);
}

/* meters */
.meter{
  margin:14px;
  padding:12px 12px;
  border:1px solid rgba(138,247,255,.14);
  border-radius: var(--radius);
  background: rgba(8,7,16,.45);
}
.meter__label{
  font-family:var(--mono);
  font-size:11px;
  color:var(--dim);
  letter-spacing:1px;
  margin-bottom:8px;
}
.meter__bar{
  height:10px;
  border-radius: 999px;
  border:1px solid rgba(138,247,255,.18);
  overflow:hidden;
  background: rgba(0,0,0,.25);
}
.meter__bar span{
  display:block;
  height:100%;
  background: linear-gradient(90deg, rgba(138,247,255,.75), rgba(255,88,209,.75));
}

/* responsive */
@media (max-width: 1100px){
  .frame{grid-template-columns: 1fr}
  .pane--status, .pane--aux{
    position:relative;
    top:auto;
    max-height:none;
  }
  .topbar{grid-template-columns: 1fr; text-align:center}
  .topbar__left,.topbar__right{justify-content:center}
  .hero__cols{grid-template-columns:1fr}
}
