:root {
  --void: #010208;
  --deep: #04060f;
  --navy: #070d1f;
  --aurora-gold: #f5c842;
  --aurora-amber: #ffab40;
  --aurora-green: #00e5a0;
  --aurora-teal: #00bfff;
  --aurora-violet: #5533ff;
  --white: #f5f0e8;
  --muted: #9aa3b6;          /* was #5a6070, bumped for readability */
  --muted-soft: #828b9e;
  --line: rgba(245,200,66,0.12);
  --line-soft: rgba(245,240,232,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }   /* base bump */

body {
  background: var(--void);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

canvas#cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.content { position: relative; z-index: 1; }

/* ══ NAV ══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(1,2,8,0.7);
  border-bottom: 1px solid var(--line-soft);
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}

.nav-star {
  color: var(--aurora-gold);
  font-size: 0.7rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.85);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--aurora-gold); }
.nav-link.active { color: var(--aurora-gold); }

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  border: 1px solid rgba(245,200,66,0.35);
  padding: 0.55rem 1rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: rgba(245,200,66,0.06);
  border-color: var(--aurora-gold);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-soft);
  padding: 0.7rem 0.6rem;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--aurora-gold);
  transition: transform 0.25s, opacity 0.25s;
}

.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width:920px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #04060f;
    border-bottom: 1px solid var(--line-soft);
    padding: 0.4rem 1.25rem 1.25rem;
  }
  .nav.open .nav-links { display: flex; }
  .nav-link:not(.nav-cta) {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.82rem;
  }
  /* the CTA already links to the request page; hide the duplicate plain link */
  .nav-link[href$="request.html"]:not(.nav-cta) { display: none; }
  .nav-cta {
    margin-top: 1.1rem;
    text-align: center;
    padding: 0.85rem 1rem;
  }
}

/* ══ HERO ══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-compass {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.025;             /* was 0.04, softer */
  pointer-events: none;
}

.hero-compass svg {
  width: min(85vw, 640px);
  height: min(85vw, 640px);
  animation: slowSpin 180s linear infinite;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.aurora-horizon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background:
    radial-gradient(ellipse 100% 80% at 50% 120%, rgba(0,229,160,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 30% 130%, rgba(245,200,66,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 70% 130%, rgba(0,191,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: ascend 1s ease forwards 0.2s;
}

.hero-name {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 13vw, 9rem);
  letter-spacing: 0.14em;
  line-height: 1;
  background: linear-gradient(120deg, #f5c842 0%, #ffffff 45%, #00e5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: ascend 1.4s ease forwards 0.4s;
}

.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.25rem 0;
  opacity: 0;
  animation: ascend 1s ease forwards 0.8s;
}

.rule-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--aurora-gold));
}

.rule-line.r { background: linear-gradient(90deg, var(--aurora-gold), transparent); }

.rule-symbol {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--aurora-gold);
}

.hero-tagline {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(245,240,232,0.9);
  letter-spacing: 0.02em;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0;
  animation: ascend 1s ease forwards 1.0s;
}

.hero-cta {
  margin-top: 2.75rem;
  opacity: 0;
  animation: ascend 1s ease forwards 1.2s;
}

@keyframes ascend {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ LAYOUT ══ */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
section { padding: 6rem 0; }

.sec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.sec-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.sec-sub {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: rgba(245,240,232,0.85);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 3rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  max-width: 1160px;
  margin: 0 auto;
}

/* ══ FEATURED ══ */
.featured {
  border: 1px solid var(--line);
  background: rgba(245,200,66,0.02);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: center;
}

.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aurora-gold), transparent);
}

@media(max-width:900px) { .featured { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.25rem; } }

.featured-meta { position: relative; z-index: 1; }

.featured-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  border: 1px solid rgba(245,200,66,0.3);
  padding: 0.4rem 0.8rem;
  margin-bottom: 1.5rem;
}

.featured-name {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.featured-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.featured-author span { color: var(--aurora-gold); }

.featured-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.92);
  font-weight: 500;
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.featured-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(245,240,232,0.88);
  text-transform: uppercase;
  border: 1px solid var(--line-soft);
  padding: 0.35rem 0.7rem;
}

.featured-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ══ BUTTONS ══ */
.btn-primary, .btn-ghost {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: rgba(245,200,66,0.08);
  color: var(--aurora-gold);
  border: 1px solid rgba(245,200,66,0.4);
}

.btn-primary:hover {
  background: rgba(245,200,66,0.14);
  border-color: var(--aurora-gold);
}

.btn-ghost {
  background: transparent;
  color: rgba(245,240,232,0.92);
  border: 1px solid var(--line-soft);
}

.btn-ghost:hover { border-color: rgba(245,240,232,0.4); color: var(--white); }

/* ══ INSTALL BLOCK ══ */
.install-block {
  background: rgba(1,2,8,0.65);
  border: 1px solid var(--line);
  padding: 1.6rem;
  position: relative;
  z-index: 1;
}

.install-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.install-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  color: var(--aurora-green);
  line-height: 1.75;
  word-break: break-all;
}

.install-code .prompt { color: var(--muted); margin-right: 0.5rem; }
.install-code .comment { color: var(--muted); }

.install-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 1.25rem 0;
}

.install-stats {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.install-stats strong { color: var(--white); font-weight: 600; }

/* ══ CATEGORIES ══ */
.cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.85);
  border: 1px solid var(--line-soft);
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cat:hover {
  color: var(--aurora-gold);
  border-color: rgba(245,200,66,0.35);
}

.cat.active {
  background: rgba(245,200,66,0.08);
  color: var(--aurora-gold);
  border-color: rgba(245,200,66,0.4);
}

.cat-count {
  margin-left: 0.45rem;
  opacity: 0.55;
  font-weight: 400;
}

/* ══ SERVER GRID ══ */
.servers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.server {
  background: var(--deep);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.server:hover { background: rgba(245,200,66,0.025); }

.server-name {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--aurora-gold);
  margin-bottom: 0.4rem;
}

.server-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.server-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.9);
  font-weight: 500;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.server-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}

.server-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--aurora-gold);
  text-transform: uppercase;
}

.server-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(245,240,232,0.85);
  text-transform: uppercase;
  transition: color 0.2s;
}

.server-link:hover { color: var(--aurora-gold); }

/* ══ SUBMIT CARD ══ */
.submit-card {
  border: 1px solid var(--line);
  padding: 4.5rem 3rem;
  text-align: center;
  background: rgba(245,200,66,0.02);
  position: relative;
  overflow: hidden;
}

.submit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aurora-gold), transparent);
}

.submit-pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.submit-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.submit-desc {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245,240,232,0.85);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.submit-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══ FOOTER ══ */
.footer {
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.footer-compass {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px;
  opacity: 0.02;
  pointer-events: none;
  animation: slowSpin 140s linear infinite reverse;
}

.footer-name {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, var(--aurora-gold), #ffffff, var(--aurora-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.footer-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin: 1.75rem 0;
  position: relative; z-index: 1;
}

.footer-rule-line {
  height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.3));
}

.footer-rule-line.r {
  background: linear-gradient(90deg, rgba(245,200,66,0.3), transparent);
}

.footer-rule-sym {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--aurora-gold);
  opacity: 0.7;
}

.footer-tagline {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(245,240,232,0.72);
  letter-spacing: 0.02em;
  position: relative; z-index: 1;
}

.footer-coords {
  margin-top: 2.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  position: relative; z-index: 1;
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  position: relative; z-index: 1;
}

.footer-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: rgba(245,240,232,0.85);
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--aurora-gold); }

/* ══════════════════════════════════════════ */
/* ══ SERVER DETAIL PAGE                  ══ */
/* ══════════════════════════════════════════ */

.detail-hero {
  padding: 9rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.detail-hero-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 2;
}

.detail-breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.detail-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}

.detail-breadcrumb a:hover { color: var(--aurora-gold); }

.detail-breadcrumb .sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.detail-tag-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.detail-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-soft);
  color: rgba(245,240,232,0.88);
}

.detail-tag.primary {
  color: var(--aurora-gold);
  border-color: rgba(245,200,66,0.3);
}

.detail-tag.muted { color: var(--muted); }

.detail-name {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5c842 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-sub {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  color: rgba(245,240,232,0.9);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.detail-meta-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.detail-meta-val {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
}

.detail-meta-val a { color: var(--aurora-gold); }
.detail-meta-val a:hover { text-decoration: underline; }

.detail-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ══ DETAIL BODY ══ */
.detail-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4.5rem;
  align-items: start;
}

@media(max-width:900px) {
  .detail-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-side { position: relative !important; top: auto !important; order: -1; }
}

.detail-main { min-width: 0; }

.detail-section { margin-bottom: 4.5rem; scroll-margin-top: 100px; }
.detail-section:last-child { margin-bottom: 0; }

.detail-h2 {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.detail-h2-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.detail-h2-rule {
  height: 1px;
  width: 50px;
  background: var(--aurora-gold);
  opacity: 0.5;
  margin: 1.25rem 0 1.75rem;
}

.detail-prose p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(245,240,232,0.92);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.detail-prose strong { color: var(--aurora-gold); font-weight: 600; }
.detail-prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  background: rgba(245,200,66,0.06);
  color: var(--aurora-green);
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line-soft);
}

/* capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.cap {
  background: var(--deep);
  padding: 1.6rem;
  transition: background 0.2s;
}

.cap:hover { background: rgba(245,200,66,0.03); }

.cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.cap-title {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cap-desc {
  font-size: 0.92rem;
  color: rgba(245,240,232,0.88);
  line-height: 1.6;
  font-weight: 500;
}

/* code block */
.code-block {
  background: rgba(1,2,8,0.75);
  border: 1px solid var(--line-soft);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.4rem;
  position: relative;
  overflow-x: auto;
}

.code-block-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.code-block pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--aurora-green);
  white-space: pre;
  overflow-x: auto;
}

.code-block .prompt { color: var(--muted); }
.code-block .comment { color: var(--muted); font-style: italic; }
.code-block .str { color: var(--aurora-gold); }

/* requirements */
.req-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.92);
  font-weight: 500;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.req-list li:last-child { border-bottom: none; }

.req-list li::before {
  content: '◆';
  color: var(--aurora-gold);
  font-size: 0.6rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.req-list strong { color: var(--white); font-weight: 600; }

/* disclaimer */
.disclaimer {
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(245,200,66,0.45);
  padding: 1.4rem 1.85rem;
  background: rgba(245,200,66,0.02);
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.9);
}

/* sidebar / TOC */
.detail-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.toc {
  border: 1px solid var(--line-soft);
  padding: 1.6rem;
  background: rgba(4,6,15,0.65);
}

.toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--aurora-gold);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }

.toc-list a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.85);
  transition: color 0.2s, border-color 0.2s;
  border-left: 1px solid transparent;
  padding: 0.35rem 0 0.35rem 0.75rem;
  margin-left: -0.75rem;
  display: block;
}

.toc-list a:hover {
  color: var(--aurora-gold);
  border-left-color: var(--aurora-gold);
}

.side-panel {
  border: 1px solid var(--line-soft);
  padding: 1.6rem;
  background: rgba(4,6,15,0.65);
}

.side-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-row:last-child { border-bottom: none; }

.side-row-label { color: var(--muted); }
.side-row-val { color: var(--white); }
.side-row-val.gold { color: var(--aurora-gold); }

/* ══════════════════════════════════════════ */
/* ══ SUBMIT PAGE                         ══ */
/* ══════════════════════════════════════════ */

.steps {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: 4rem;
}

.step {
  background: var(--deep);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

@media(max-width:600px) { .step { grid-template-columns: 1fr; padding: 1.85rem; } }

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: rgba(245,200,66,0.3);
  line-height: 1;
}

.step-title {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.step-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.9);
  font-weight: 500;
}

.step-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  background: rgba(245,200,66,0.06);
  color: var(--aurora-green);
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--line-soft);
}

.submit-form {
  border: 1px solid var(--line-soft);
  background: rgba(4,6,15,0.5);
  padding: 2.75rem;
}

@media(max-width:600px) { .submit-form { padding: 1.75rem; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.65rem 1.5rem;
  margin-bottom: 2.5rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field.full { grid-column: 1 / -1; }

.field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--aurora-gold);
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: rgba(1,2,8,0.6);
  border: 1px solid var(--line-soft);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  width: 100%;
}

.field textarea {
  font-family: 'DM Sans', sans-serif;
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--aurora-gold) 50%),
                    linear-gradient(135deg, var(--aurora-gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field select option {
  background: var(--deep);
  color: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(245,240,232,0.45);
  font-style: italic;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(245,200,66,0.45);
  background: rgba(245,200,66,0.025);
}

.form-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}

.form-actions button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
  background: rgba(245,200,66,0.08);
  color: var(--aurora-gold);
  border: 1px solid rgba(245,200,66,0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.form-actions button:hover {
  background: rgba(245,200,66,0.14);
  border-color: var(--aurora-gold);
}

/* ── Installation accordions (server detail: Docker / Podman) ── */
.install-pane {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--deep);
  margin-bottom: 1.1rem;
  overflow: hidden;
}

.install-pane > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.2s;
}

.install-pane > summary::-webkit-details-marker { display: none; }
.install-pane > summary:hover { background: rgba(245,200,66,0.04); }

.install-pane .pane-runtime { color: var(--aurora-gold); }

.install-pane .pane-sub {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: none;
  font-size: 0.74rem;
}

.install-pane .pane-chevron {
  margin-left: auto;
  color: var(--aurora-gold);
  font-size: 1.05rem;
  transition: transform 0.25s;
}

.install-pane[open] > summary .pane-chevron { transform: rotate(90deg); }
.install-pane[open] > summary { border-bottom: 1px solid var(--line-soft); }

.install-pane-body { padding: 1.5rem 1.4rem; }

.install-step { margin-bottom: 1.75rem; }
.install-step:last-child { margin-bottom: 0; }

.install-step-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aurora-green);
  margin-bottom: 0.7rem;
}

.install-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.9);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.install-note {
  border-left: 2px solid var(--aurora-teal);
  background: rgba(0,191,255,0.05);
  padding: 0.9rem 1.1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.92);
  margin: 0.95rem 0;
}

.install-note strong { color: var(--aurora-teal); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   Knowledge base, comparison tables
   ════════════════════════════════════════════════════════════ */
.kb-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--deep);
  border: 1px solid var(--line-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  margin: 1.1rem 0;
}
.kb-table thead th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(245,200,66,0.025);
}
.kb-table tbody td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: rgba(245,240,232,0.9);
  line-height: 1.55;
}
.kb-table tbody tr:last-child td { border-bottom: none; }
.kb-table tbody td:first-child {
  color: var(--white);
  white-space: nowrap;
}
.kb-table code {
  background: rgba(245,200,66,0.06);
  padding: 0.05rem 0.4rem;
  border-radius: 2px;
  font-size: 0.85em;
}

/* ════════════════════════════════════════════════════════════
   Guides directory card (homepage)
   ════════════════════════════════════════════════════════════ */
.guide-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2.2rem;
  background: var(--deep);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--aurora-gold);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover {
  background: rgba(245,200,66,0.025);
  border-left-color: var(--aurora-green);
}
.guide-card + .guide-card { margin-top: 1.25rem; }
.guide-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  margin-bottom: 0.55rem;
}
.guide-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.guide-card-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(245,240,232,0.9);
  max-width: 56ch;
}
.guide-card-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .guide-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.4rem;
  }
}

/* ════════════════════════════════════════════════════════════
   "Who Runs This" section (homepage about)
   ════════════════════════════════════════════════════════════ */
.about-prose { max-width: 760px; }
.about-prose p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(245,240,232,0.92);
  margin-bottom: 1.4rem;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong { color: var(--aurora-gold); font-weight: 600; }
.about-prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  background: rgba(245,200,66,0.06);
  color: var(--aurora-green);
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line-soft);
}
.about-prose a {
  color: var(--aurora-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,200,66,0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.about-prose a:hover {
  color: var(--aurora-green);
  border-bottom-color: var(--aurora-green);
}

/* ════════════════════════════════════════════════════════════
   "Just Reach Out" grid (request page)
   ════════════════════════════════════════════════════════════ */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: 2.5rem;
}
.reach-card {
  background: var(--deep);
  padding: 1.8rem 1.6rem;
}
.reach-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aurora-gold);
  margin-bottom: 0.7rem;
}
.reach-card-title {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.reach-card-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.9);
}

/* ════════════════════════════════════════════════════════════
   Mobile (phones)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .wrap { padding: 0 1.25rem; }
  section { padding: 3.75rem 0; }

  .hero { padding: 7rem 1.25rem 3.5rem; }

  .featured { padding: 1.75rem 1.4rem; }
  .submit-card { padding: 3rem 1.5rem; }

  .detail-hero { padding: 7.5rem 0 3rem; }
  .detail-hero-wrap { padding: 0 1.25rem; }
  .detail-body { padding: 3rem 1.25rem; }
  .detail-section { margin-bottom: 3rem; }
  .detail-meta-row { gap: 1.5rem; }

  .step { padding: 1.85rem 1.4rem; }
  .install-pane-body { padding: 1.25rem 1rem; }
  .code-block { padding: 1.1rem 1.2rem; }
  .code-block pre { font-size: 0.8rem; }

  /* wide comparison tables scroll instead of breaking the layout */
  .kb-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .kb-table thead th,
  .kb-table tbody td { min-width: 11rem; }
  .kb-table tbody td:first-child { white-space: normal; }

  .footer { padding: 3.5rem 1.25rem 2.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem 1.5rem; }
}
