/* Gameficate start page (index.html): the page itself, the tool tiles and the guides. The gallery has css/gallery.css;
   the account bar, buttons and dialogs css/portal.css. */
:root {
  --navy: #17324d;
  --ink: #1f2a37;
  --muted: #5b6b7c;
  --line: #dce6ef;
  --bg: #eef4f9;
  --orange: #ff7a3d;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.5 'Nunito',
    system-ui,
    sans-serif;
}
.home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}
header {
  text-align: center;
  margin-bottom: 32px;
}
header img {
  max-width: 70vw;
  height: auto;
}
header p {
  margin-top: 10px;
  font-size: 19px;
  color: var(--muted);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.tile:hover,
.tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 50, 77, 0.14);
  outline: none;
  border-color: var(--orange);
}
.tile.main {
  border-color: var(--orange);
}
.tile .ic {
  font-size: 32px;
  line-height: 1;
}
.tile b {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-size: 22px;
  color: var(--navy);
}
.tile span:last-child {
  color: var(--muted);
}
footer {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer a {
  color: var(--navy);
  font-weight: 700;
}

.guides-h {
  margin: 36px 0 14px;
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-size: 24px;
  color: var(--navy);
}
.tiles.guides .tile {
  background: #f9fbfd;
}
