:root {
  --green-dark: #004b23;
  --green-lime: #d4e157;
  --text: #333333;
  --bg: #f7f7f7;
  --card-bg: #ffffff;
  --card-border: #e8e8e8;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 16px;
}

.page {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: #fff;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  user-select: none;
}

.logo-bp {
  color: var(--green-lime);
}

.logo-bioenergy {
  color: #ffffff;
}

.title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
}

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  padding: 20px 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.app-card:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

.app-icon {
  width: 48px;
  height: 48px;
  color: var(--green-dark);
}

.app-label {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 360px) {
  .apps {
    gap: 12px;
  }

  .logo {
    font-size: 1.15rem;
    padding: 8px 16px;
  }

  .app-icon {
    width: 40px;
    height: 40px;
  }

  .app-label {
    font-size: 0.85rem;
  }
}
