:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #616e7c;
  --line: #d9dee3;
  --accent: #005cff;
  --accent-dark: #155a9e;
}

* { box-sizing: border-box; }

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

body {
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

main { max-width: 1000px; margin: 0 auto; padding: 0 20px 60px; }

.page-header {
  max-width: 1000px; margin: 0 auto; padding: 40px 20px 8px;
}
.page-header .logo { display: block; width: 220px; max-width: 100%; height: auto; margin: 0 0 24px; }
.page-header h1 { margin: 0 0 10px; font-size: 30px; }
.page-header p { margin: 8px 0; color: var(--muted); font-size: 17px; max-width: 700px; }

.tile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px;
}
@media (max-width: 820px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 24px; text-decoration: none; color: inherit; min-height: 150px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tile-icon { display: block; height: 40px; width: auto; max-width: 160px; border-radius: 9px; margin-bottom: 14px; object-fit: contain; }
.tile h2 { margin: 0 0 8px; font-size: 20px; color: var(--text); }
.tile p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

a.tile:hover, a.tile:focus-visible {
  border-color: var(--accent); box-shadow: 0 4px 14px rgba(27, 110, 194, .12); transform: translateY(-2px);
}

.tile.tile-active {
  border-color: var(--accent);
}

.tile.tile-disabled {
  cursor: default; opacity: .7;
}

.tile-btn {
  display: inline-block; margin-top: auto; font-size: 13.5px; font-weight: 600; color: #fff;
  background: var(--accent); padding: 7px 14px; border-radius: 7px;
}
a.tile:hover .tile-btn, a.tile:focus-visible .tile-btn { background: var(--accent-dark); }

.badge-soon {
  display: inline-block; margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 10px; background: #e4e7eb; color: var(--muted);
}

.page-footer {
  max-width: 1000px; margin: 0 auto; padding: 0 20px 40px; color: var(--muted); font-size: 13px; text-align:center
}
