:root {
  --bg: #f2f6fb;
  --card-bg: #ffffff;
  --text: #142233;
  --muted: #45617d;
  --border: #d6e0ec;
  --shadow: 0 12px 30px rgba(20, 34, 51, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 60%);
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px;
}

h1 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  padding: 24px 20px;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 34, 51, 0.16);
}

.tile img {
  width: min(170px, 68%);
  max-height: 110px;
  object-fit: contain;
}

.tile h2 {
  margin: 0;
  font-size: 1.3rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  word-break: break-word;
}

@media (max-width: 760px) {
  .page {
    padding: 24px 14px;
  }

  .tiles {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 240px;
  }
}
