:root{
  --bg:#f5f7fa;
  --card:#ffffffcc;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --green:#42b983;
  --blue:#2196f3;
  --red:#e53935;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 16px;
}

*{ box-sizing:border-box; }
body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(66,185,131,.25), transparent 60%),
    radial-gradient(900px 520px at 84% 18%, rgba(33,150,243,.18), transparent 58%),
    radial-gradient(900px 520px at 50% 96%, rgba(255,193,7,.12), transparent 62%),
    linear-gradient(180deg, #f5f7fa 0%, #eef2f7 100%);
  margin:0;
  min-height:100vh;
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(1080px, calc(100vw - 28px)); margin: 0 auto; padding: 22px 0 50px; }
.topbar{
  position: sticky; top:0; z-index:10;
  background: rgba(245,247,250,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.topbar .inner{ width:min(1080px, calc(100vw - 28px)); margin:0 auto; padding: 14px 0; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.brand{ display:flex; align-items:center; gap:10px; }
.logo{
  width:40px; height:40px; border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}
.brand .title{ font-weight: 700; letter-spacing:-.2px; }
.brand .sub{ font-size:12px; color: var(--muted); margin-top:2px; }

.nav{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  cursor:pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  user-select:none;
  font-size: 14px;
}
.btn:hover{ box-shadow: 0 10px 22px rgba(0,0,0,.10); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn.primary{ background: rgba(66,185,131,.12); border-color: rgba(66,185,131,.22); }
.btn.primary:hover{ background: rgba(66,185,131,.16); }
.btn.blue{ background: rgba(33,150,243,.12); border-color: rgba(33,150,243,.22); }
.btn.blue:hover{ background: rgba(33,150,243,.16); }
.btn.danger{ background: rgba(229,57,53,.10); border-color: rgba(229,57,53,.22); }
.btn.danger:hover{ background: rgba(229,57,53,.14); }

.card{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card.pad{ padding: 22px 22px; }

.grid{ display:grid; gap:14px; }
.grid.cols-3{ grid-template-columns: 1fr 1fr 1fr; }
.grid.cols-2{ grid-template-columns: 1fr 1fr; }
@media (max-width: 920px){ .grid.cols-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid.cols-3, .grid.cols-2{ grid-template-columns: 1fr; } }

.h1{ font-size: 28px; font-weight: 750; letter-spacing:-.35px; margin:0; }
.p{ color: var(--muted); line-height: 1.6; margin: 10px 0 0; }

.input, .select, .textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
  outline:none;
  transition: box-shadow .16s ease, border-color .16s ease;
  font-size: 14px;
}
.textarea{ min-height: 92px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus{ border-color: rgba(66,185,131,.60); box-shadow: 0 0 0 4px rgba(66,185,131,.16); }

.badge{
  display:inline-flex; align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.06);
  border: 1px solid rgba(17,24,39,.08);
  color: rgba(17,24,39,.76);
  font-size: 12px;
  white-space: nowrap;
}

.hr{ height:1px; background: rgba(0,0,0,.06); margin: 14px 0; }

/* Pretty entrance */
.fade-in{ animation: fadeIn .28s ease-out both; }
@keyframes fadeIn{ from{ opacity:0; transform: translateY(8px) } to{ opacity:1; transform:none } }

/* Link card */
.link{
  display:flex; align-items:flex-start; gap:12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.60);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.link:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.10); background: rgba(255,255,255,.78); }
.favicon{
  width:40px; height:40px; border-radius: 14px;
  display:grid; place-items:center; overflow:hidden;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
  flex: 0 0 auto;
}
.favicon img{ width:22px; height:22px; }
.link .t{ font-weight: 650; margin:0; }
.link .u{ font-size: 12px; color: var(--muted); margin-top:4px; word-break: break-all; }
.link .d{ font-size: 12px; color: rgba(107,114,128,.92); margin-top: 8px; line-height:1.4; }

/* Install steps */
.steps{ display:flex; gap:8px; margin: 6px 0 22px; }
.stepbar{ flex:1; height: 6px; border-radius: 999px; background: #e9edf3; overflow:hidden; }
.stepbar.active{ background: linear-gradient(90deg, var(--green), var(--blue)); }
.alert{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(229,57,53,.22);
  background: rgba(229,57,53,.08);
  color: #b42318;
  font-size: 14px;
}
.success{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(66,185,131,.22);
  background: rgba(66,185,131,.10);
  color: #1b7a52;
  font-size: 14px;
}
.check{ display:flex; align-items:center; gap:10px; margin: 10px 0; color: rgba(17,24,39,.85); }
.check .ok{ color: var(--green); font-weight: 800; }
.check .bad{ color: var(--red); font-weight: 800; }
.small{ font-size: 12px; color: var(--muted); line-height: 1.6; }

/* Table-like lists */
.rowline{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
