:root {
  --primary: #1E3A8A;
  --accent:  #10B981;
  --bg:      #F3F4F6;
  --text:    #111827;
  --muted:   #6B7280;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 960px;
  padding: 16px;
}

header {
  text-align: center;
  margin-bottom: 24px;
}

header h1 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 4px;
}

header p {
  font-size: 0.95rem;
  color: var(--muted);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.tile {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              background 0.15s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  background: #EEF2FF;
}

.tile-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(37, 99, 235, 0.06);
  overflow: hidden;
}

.tile-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tile-name {
  font-size: 0.98rem;
  font-weight: 600;
}

.tile-sub {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .page {
    padding: 12px;
  }
}
