/* Base Reset */
*{box-sizing:border-box;margin:0;padding:0}

:root{
  --text:#f3f3f3;
  --muted:#cfcfcf;
  --accent:#ffcc33;
  --panel: rgba(0,0,0,.55);
  --maxw: 960px;
}

/* Background with fade to black at bottom */
body{
  min-height:100vh;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji','Segoe UI Emoji';
  line-height:1.6;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 60%, #000 100%),
    url('assets/background.jpg') center top / cover no-repeat fixed;
}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  width:100%;
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.08);
  z-index:10;
}

.topbar-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:.6rem 1rem;
  display:flex;
  align-items:center;
}

.brand{
  height:36px;
  width:auto;
}

/* Content layout */
.content{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 2.5rem 1rem 3.5rem;
}

.hero-logo img{
  width:min(560px, 85vw);
  height:auto;
  display:block;
  margin:2rem auto 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.6));
}

/* Documentation panel */
.doc{
  width:100%;
  max-width:var(--maxw);
  background:var(--panel);
  backdrop-filter:saturate(140%) blur(2px);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.doc h1{
  font-size:clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom:.25rem;
  letter-spacing:.5px;
}

.doc .subtitle{
  color:var(--muted);
  margin-bottom:1rem;
}

.doc h2{
  font-size:clamp(1.25rem, 2.6vw, 1.6rem);
  margin: 1.25rem 0 .5rem;
  letter-spacing:.4px;
}

.doc h3{
  font-size:1.05rem;
  margin:.75rem 0 .25rem;
  color:var(--accent);
}

.doc p{ margin:.5rem 0; }

.doc ul, .doc ol{
  margin:.5rem 0 .75rem 1.25rem;
}

.doc li{ margin:.25rem 0; }

.doc hr{
  border:none;
  height:1px;
  background:linear-gradient(to right, rgba(255,255,255,.12), rgba(255,255,255,.04));
  margin:1rem 0 1rem;
}

/* Links */
a{ color:#ffd46a; text-decoration:underline; text-underline-offset:2px; }
a:hover{ text-decoration: none; }

/* Footer */
.footer{
  text-align:center;
  color:var(--muted);
  padding:2rem 1rem 2.5rem;
  font-size:.95rem;
}

/* Mobile tweaks */
@media (max-width: 640px){
  .brand{ height:30px; }
  .doc{ padding: 1.25rem 1rem; border-radius:14px; }
  .content{ padding: 1.5rem 1rem 2rem; }
}
