:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #17202a;
  --muted: #657080;
  --line: #dce1e7;
  --active: #13795b;
  --pending: #8a6a12;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

header {
  background: #17202a;
  color: #ffffff;
  padding: 28px;
}

header p {
  color: #aeb8c4;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}

.modules {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
  padding: 24px;
}

.module {
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
  min-height: 150px;
  padding: 18px;
  text-decoration: none;
}

.module span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.module strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.module p {
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.module.active {
  border-top: 5px solid var(--active);
}

.module.pending {
  border-top: 5px solid var(--pending);
  opacity: 0.76;
}

@media (max-width: 900px) {
  .modules {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  header {
    padding: 22px 18px;
  }
}
