*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f6fa;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.page {
  width: 100%;
  max-width: 860px;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1f36;
  margin-bottom: 20px;
}

/* Grid */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

/* Tile */
.tile {
  background: #ffffff;
  border: 1px solid #e2e4ea;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

/* Header with teal gradient */
.tile__header {
  background: linear-gradient(90deg, #0f6e7a, #1ab8cc);
  padding: 12px 16px;
}

.tile__label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.tile__name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

/* Body */
.tile__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tile__desc {
  font-size: 12px;
  color: #5a6278;
  line-height: 1.6;
}

/* Button */
.tile__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 7px 12px;
  background: #e8f8fb;
  color: #0f6e7a;
  border: 1px solid #9fdde6;
  border-radius: 6px;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  width: fit-content;
  margin-top: auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.tile__btn:hover {
  background: #1ab8cc;
  color: #ffffff;
  border-color: #1ab8cc;
}

/* Responsive */
@media (max-width: 520px) {
  .tiles-grid {
    grid-template-columns: 1fr;
  }
}
