* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #0f172a;
}

.dashboard {
  width: min(1080px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 0.95rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 700;
}

.hero p {
  margin: 0.35rem 0 0;
  color: #475569;
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.app-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.85rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-1px);
  border-color: #c4d0de;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.app-icon {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 1rem;
}

.app-card h2 {
  margin: 0.55rem 0 0.25rem;
  font-size: 1rem;
}

.app-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #334155;
}

.app-url {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.77rem;
  font-weight: 600;
  color: #0f766e;
}

.preview-thumb {
  margin-top: 0.6rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

@media (max-width: 860px) {
  .apps {
    grid-template-columns: 1fr;
  }

  .preview-thumb {
    max-height: none;
  }
}
