:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(18, 56, 74, 0.95), rgba(42, 80, 67, 0.90)),
    url("/assets/hrh-services-logo.svg") center 14% / 280px no-repeat,
    #12384a;
  color: #f8fbfd;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  padding: 28px;
}

.chooser-shell {
  display: grid;
  gap: 24px;
  max-width: 980px;
  width: 100%;
}

.chooser-head {
  align-items: center;
  display: flex;
  gap: 18px;
}

.chooser-head img {
  background: #fff;
  border-radius: 8px;
  height: 68px;
  object-fit: contain;
  padding: 7px;
  width: 68px;
}

.chooser-head p {
  color: #abd7d2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.chooser-head h1 {
  font-size: 54px;
  line-height: 1;
  margin: 0;
}

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

.app-tile {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  color: #172a3d;
  display: grid;
  gap: 16px;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 160px;
  padding: 20px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.app-tile:hover,
.app-tile:focus-visible {
  background: #fff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  outline: 0;
  transform: translateY(-2px);
}

.app-mark {
  align-items: center;
  background: #12384a;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  overflow: hidden;
  width: 74px;
}

.app-mark img {
  background: #fff;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.app-tile-namecards .app-mark {
  background: #2b716b;
}

.app-tile strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.app-tile small {
  color: #52606d;
  display: block;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  body {
    align-items: stretch;
    padding: 18px;
  }

  .chooser-shell {
    align-content: center;
  }

  .chooser-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chooser-head h1 {
    font-size: 38px;
  }

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

  .app-tile {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 132px;
  }

  .app-mark {
    height: 58px;
    width: 58px;
  }
}
