.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 16px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a,
.footer a {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
}

.page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 90px;
}

.hero,
.section,
.app-card,
.empty-state {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero {
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
}

.hero p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.5;
}

.hero-actions {
  display: grid;
  gap: 10px;
}

.section-head {
  margin-bottom: 16px;
}

.section h1,
.section h2 {
  margin-top: 0;
}

.cards {
  display: grid;
  gap: 14px;
}

.app-card {
  position: relative;
  border: 1px solid #e5e7eb;
}

.app-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.app-card p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.45;
}

.app-status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.secondary {
  background: #111827;
}

.button.small {
  padding: 10px 13px;
  font-size: 14px;
}

.empty-state {
  border: 1px dashed #cbd5e1;
}

.empty-state.error {
  border-color: #fecaca;
  background: #fff7f7;
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  justify-content: space-around;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 10px;
}

@media (min-width: 768px) {
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    margin-bottom: 0;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
