/* MemoryMania.nl - lightweight static site */
:root{
  --bg:#0b0f19;
  --surface:#111827;
  --card:#0f172a;
  --text:#f8fafc;
  --muted:#cbd5e1;
  --muted2:#94a3b8;
  --border:rgba(255,255,255,.12);
  --shadow:0 18px 60px rgba(0,0,0,.35);
  --orange:#ff6b35;
  --yellow:#ffd23f;
  --green:#22c55e;
  --link:#93c5fd;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(255,210,63,.22), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(255,107,53,.18), transparent 55%),
    radial-gradient(1200px 800px at 50% 90%, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(180deg, #060810, var(--bg));
}

a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:1100px; margin:0 auto; padding:24px}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  border:1px solid var(--border);
  background:rgba(17,24,39,.55);
  backdrop-filter: blur(10px);
  border-radius:18px;
  padding:12px 14px;
  box-shadow: var(--shadow);
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.2px;
}
.brand-badge{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border:2px solid rgba(255,255,255,.75);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.brand span{font-size:16px}
.navlinks{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end;
}
.navlinks a{
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.navlinks a:hover{
  border-color:var(--border);
  text-decoration:none;
  background: rgba(255,255,255,.04);
}

.hero{
  margin-top:22px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--border);
  background:rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
  border-radius:20px;
  padding:18px;
  box-shadow: var(--shadow);
}
.hero h1{
  margin:6px 0 10px;
  font-size:42px;
  line-height:1.06;
  letter-spacing:-.4px;
}
@media (max-width: 520px){
  .hero h1{font-size:34px}
}
.lead{color:var(--muted); font-size:16px; line-height:1.55}

.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:2px solid rgba(255,255,255,.75);
  font-weight:900;
  text-decoration:none !important;
  cursor:pointer;
  user-select:none;
}
.btn.primary{
  background: linear-gradient(135deg, var(--orange), #ff824e);
  color:white;
}
.btn.secondary{
  background: linear-gradient(135deg, var(--yellow), #ffe66d);
  color:#111;
}
.btn.ghost{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-color: rgba(255,255,255,.18);
}

.pillrow{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.pill{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--border);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.18);
}

.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
}
.feature h3{margin:0 0 8px; font-size:16px}
.feature p{margin:0; color:var(--muted); line-height:1.55}

.section{margin-top:18px}
.section h2{margin:0 0 10px; font-size:18px}
.section p, .section li{color:var(--muted); line-height:1.6}

.kvs{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 700px){
  .kvs{grid-template-columns:1fr}
}
.kv{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background: rgba(0,0,0,.16);
}
.kv b{display:block; margin-bottom:6px}
.kv span{color:var(--muted)}

.footer{
  margin-top:22px;
  color:var(--muted2);
  font-size:13px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--border);
  padding-top:14px;
}
.footer a{color:var(--muted)}

.doc h1{margin:6px 0 10px; font-size:30px}
.doc h2{margin:18px 0 8px; font-size:18px}
.doc p,.doc li{color:var(--muted); line-height:1.65}
.doc code{background: rgba(255,255,255,.08); padding:2px 6px; border-radius:8px}
