/* Prosperion — mobile apps hub */

:root {
  --cream: #F5EFE4;
  --navy: #16324F;
  --terracotta: #D85A30;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.hero p {
  margin: 0;
  max-width: 46ch;
  opacity: 0.85;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.app-card {
  display: flex;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(22, 50, 79, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.app-card:hover,
.app-card:focus-within {
  border-color: var(--terracotta);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(22, 50, 79, 0.15);
}

.app-card-body h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.app-card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  opacity: 0.8;
}

.app-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
}

.app-links a:hover,
.app-links a:focus {
  text-decoration: underline;
}

footer.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 50, 79, 0.15);
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .app-card {
    flex-direction: column;
  }
}
