:root {
  --bg: #0f1720;
  --card: #16212c;
  --muted: #93a4b5;
  --text: #e8eef5;
  --border: #223241;
  --btn: #223241;
  --btnHover: #2a3f52;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin:0;
  font-family: Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display:flex;
  flex-direction:column;
}

.page{ flex:1; }

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 18px;
  border-bottom:1px solid var(--border);
  background:#101a23;
}

.title{
  font-weight:700;
  letter-spacing:0.2px;
}

.actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.navLink{
  color: var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
}

.navLink:hover{ color: var(--text); }

.wrap{
  max-width:980px;
  margin:24px auto;
  padding:0 16px;
}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.hero h1{
  margin:0 0 8px 0;
  font-size:22px;
}

.hero p{
  margin:0;
  line-height:1.5;
}

.muted{ color: var(--muted); }

.quickLinks{
  margin-top:14px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.chip{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  text-decoration:none;
  color: var(--muted);
  font-size:12px;
  font-weight:600;
  background: rgba(255,255,255,0.02);
}

.chip:hover{
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}

.toolCard{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);

  display:flex;
  flex-direction:column;
  min-height: 260px;
}

.toolTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.toolCard h2{
  margin:0;
  font-size:18px;
}

.pill{
  border:1px solid var(--border);
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  white-space:nowrap;
}

.toolBody{
  flex:1;
}

.toolBody p{
  margin:12px 0 0;
  line-height:1.5;
}

.list{
  margin:12px 0 0;
  padding-left: 18px;
  line-height:1.55;
  color: var(--muted);
  font-size:13px;
}

.ctaRow{
  margin-top:auto;
  padding-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  border:1px solid var(--border);
  background: var(--btn);
  color: var(--text);
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}

.btn:hover{ background: var(--btnHover); }

.faqCard{ margin-top:16px; }

.faqHeader{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.faqHeader h2{
  margin:0;
  font-size:18px;
}

.faq{ margin-top:12px; }

.faqItem{
  margin-top:8px;
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.faqQ{
  list-style:none;
  cursor:pointer;
  font-weight:700;
  padding:10px 12px;
  color: var(--text);
  user-select:none;
}

.faqQ::-webkit-details-marker{ display:none; }

.faqItem[open] .faqQ{
  background: rgba(255,255,255,0.03);
}

.faqA{
  padding:10px 12px 12px;
  line-height:1.55;
  font-size:13px;
}

.siteFooter{
  margin-top: 22px;
  padding: 18px 16px 26px;
  border-top: 0;
  background: transparent;
}

.siteFooter .footerBox{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.siteFooter .spacer{ height: 10px; }

.footerLink{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footerLink:hover{ color: var(--text); }

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}