/* Neutral charcoal, clean, mobile-friendly */
:root{
  --bg:#07090d;
  --panel:#0f141c;
  --text:#e8ecf3;
  --muted:#a7b0bf;
  --border: rgba(255,255,255,.08);
  --accent:#d1d5db; /* neutral */
  --accent2:#9ca3af;
  --shadow: 0 14px 34px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 700px at 18% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(255,255,255,.04), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:var(--text); text-decoration:underline; text-decoration-color: rgba(255,255,255,.25)}
a:hover{text-decoration-color: rgba(255,255,255,.55)}

.wrap{width:min(1040px, 92vw); margin:0 auto}

.site-header{
  padding:24px 0 16px;
  border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, rgba(7,9,13,.92), rgba(7,9,13,.35));
  position:sticky;
  top:0;
  backdrop-filter: blur(8px);
  z-index:10;
}

.header-grid{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.brand{color:var(--muted); font-weight:700; letter-spacing:.2px}
h1{margin:6px 0 4px; font-size: clamp(28px, 4vw, 44px)}
.tagline{margin:0; color:var(--muted)}

.tabs{display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end}
.tab{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--text);
  background: rgba(255,255,255,.02);
  text-decoration:none;
}
.tab:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}

main{padding:18px 0 46px}

.card{
  background: linear-gradient(180deg, rgba(15,20,28,.92), rgba(15,20,28,.74));
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  margin:14px 0;
  box-shadow: var(--shadow);
}

.section-head{display:flex; gap:14px; align-items:flex-end; justify-content:space-between; flex-wrap:wrap}
.small{color:var(--muted); font-size:14px; margin:0}
.muted{color:var(--muted)}
h2{margin:0 0 10px; font-size:22px}
h3{margin:0 0 6px; font-size:18px}

.callout{
  margin-top:12px;
  padding:12px;
  border-left: 3px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
}

.download-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.download{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background: rgba(0,0,0,.18);
}

.link-row{display:flex; gap:12px; align-items:center; margin-top:10px; flex-wrap:wrap}
.link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  text-decoration:none;
}
.link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.link-download{
  background: rgba(255,255,255,.06);
}

.btn{
  display:inline-block;
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  color:var(--text);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  text-decoration:none;
}
.btn:hover{ background: rgba(255,255,255,.08); }

.accordion{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background: rgba(0,0,0,.14);
  margin-top:10px;
}
.accordion summary{cursor:pointer; font-weight:700}
.answer{padding-top:10px}

.template{
  margin:12px 0 0;
  padding:12px;
  border-radius:14px;
  background: rgba(0,0,0,.24);
  border:1px solid var(--border);
  color: var(--text);
  overflow:auto;
  white-space:pre-wrap;
}

.social-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.icon-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(255,255,255,.02);
  color: var(--text);
  text-decoration:none;
}
.icon-btn:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.icon{
  width:26px; height:26px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
}
.icon-label{font-weight:600}

.footer{padding:18px 0 0}
.footer-line{height:1px; background: var(--border); margin:8px 0 12px}
.footer p{margin:0; color:var(--muted); font-size:13px}

@media (max-width: 920px){
  .download-grid{grid-template-columns: 1fr}
}
