/* Apps hub landing — shop + tools portal */

.apps-hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(45, 106, 79, 0.14), transparent 55%),
    linear-gradient(160deg, #eef6f1 0%, #f7faf8 45%, #fafafa 100%);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.apps-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 650;
}

.apps-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--color-text);
  max-width: 14ch;
}

.apps-hero__lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

.apps-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.apps-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.apps-section--alt {
  background: #f3f6f4;
  border-block: 1px solid var(--color-border);
}

.apps-section__header {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.apps-section__header h2 {
  margin: 0 0 0.35rem;
  font-size: var(--font-size-xl);
}

.apps-section__header p {
  margin: 0;
  color: var(--color-text-muted);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.apps-grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.apps-card {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.apps-card:hover,
.apps-card:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.06);
  outline: none;
}

.apps-card__icon {
  display: inline-block;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.apps-card__title {
  margin: 0 0 0.35rem;
  font-size: var(--font-size-lg);
}

.apps-card__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.apps-card--compact {
  text-align: center;
  font-weight: 600;
  padding: 1rem;
}
