:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --text: #172033;
  --muted: #5d6878;
  --line: #dbe3eb;
  --shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
  --green: #146c43;
  --teal: #0f766e;
  --blue: #1d4ed8;
  --amber: #a16207;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.shell {
  width: min(100% - 28px, 620px);
  margin: 0 auto;
  padding: 34px 0 42px;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: 10px 0 24px;
}

.brand-logo {
  width: clamp(92px, 24vw, 132px);
  height: clamp(92px, 24vw, 132px);
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.hero-title {
  display: grid;
  gap: 7px;
  justify-items: center;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-title p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.app-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: stretch;
}

.app-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-1px);
  border-color: #b7c5d3;
  box-shadow: var(--shadow);
  outline: none;
}

.icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef3f7;
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicles .icon {
  color: var(--green);
  background: #e8f5ee;
}

.warehouse .icon {
  color: var(--teal);
  background: #e5f4f2;
}

.events .icon {
  color: var(--blue);
  background: #e9efff;
}

.ombuds .icon {
  color: var(--amber);
  background: #fff5dd;
}

.app-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.2;
}

.app-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 20px, 420px);
    padding-top: 22px;
  }

  .hero {
    gap: 13px;
    padding-bottom: 20px;
  }

  h1 {
    font-size: 26px;
  }

  .app-card {
    min-height: 88px;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .icon {
    width: 44px;
    height: 44px;
  }

  .icon svg {
    width: 25px;
    height: 25px;
  }
}
