/* App portfolio section. Works alongside the existing Conkie Labs stylesheet. */
.apps-section {
  background: #fff;
  padding-block: clamp(4.5rem, 7vw, 7.5rem);
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.app-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border: 1px solid #e3e8e2;
  border-radius: 18px;
  background: #f7f9f6;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .app-card:hover { transform: translateY(-3px); border-color: #afbbad; box-shadow: 0 12px 32px rgba(32, 48, 33, .07); }
}
.app-card-top { display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between; margin-bottom: 1.5rem; }
.app-symbol {
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 14px; background: #263e30; color: #fff;
  font: 700 1.45rem/1 system-ui, sans-serif;
}
.app-card-meta { display: flex; align-items: flex-end; gap: .5rem; flex-direction: column; text-align: right; }
.app-category { font: 600 .72rem/1.3 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #5b6a5e; }
.app-status { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .63rem; border: 1px solid #e1e5dd; border-radius: 999px; font: 600 .69rem/1.2 system-ui,sans-serif; color: #6b7368; background: #fff; }
.app-status-live { color: #226340; border-color: #cde4d5; background: #ecf7ef; }
.app-status-live::before { content: ''; width: .38rem; height: .38rem; border-radius: 50%; background: #328b52; }
.app-name { margin: 0 0 .7rem; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; letter-spacing: -.025em; color: #1d2c22; }
.app-description { color: #58675b; line-height: 1.65; font-size: .96rem; margin: 0 0 1.7rem; overflow-wrap: anywhere; }
.app-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: auto; align-items: center; }
.app-link { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem; border-radius: 9px; font-size: .85rem; font-weight: 650; line-height: 1.25; transition: background .2s ease; }
.app-link-primary { background: #263e30; color: #fff; }
.app-link-primary:hover, .app-link-primary:focus-visible { background: #435a47; color: #fff; }
.app-link-secondary { border: 1px solid #bfc9bf; color: #263e30; background: #fff; }
.app-link-secondary:hover, .app-link-secondary:focus-visible { background: #edf2ed; }
.app-link:focus-visible { outline: 2px solid #263e30; outline-offset: 3px; }
.app-link-unavailable { color: #6b756d; font-size: .85rem; font-weight: 550; }
.apps-message { grid-column: 1 / -1; padding: 2rem; border: 1px dashed #cbd5cc; border-radius: 14px; background: #f8faf8; color: #59685b; }
@media (max-width: 700px) {
  .apps-section { padding-block: 3.75rem; }
  .apps-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .app-card { padding: 1.3rem; }
  .app-card-top { margin-bottom: 1.2rem; }
  .app-link { min-height: 44px; }
  /* Keep the additional navigation link usable on smaller screens. */
  .header-nav { flex-wrap: wrap; }
}
