/* Apps page additions. Loaded after home.css; reuses its tokens and framework
   (topbar, buttons, modal, reveal, contact strip, footer). Intentionally simple:
   a compact header, then one self-contained card per app. */

/* Compact page header (NOT the full-height homepage hero). */
.apps-intro {
  padding: clamp(48px, 9vw, 96px) 0 clamp(28px, 5vw, 44px);
  border-bottom: 1px solid var(--line);
}

.apps-intro h1 {
  margin-top: 6px;
  font-size: clamp(40px, 9vw, 84px);
  line-height: 0.95;
}

.apps-lede {
  max-width: 600px;
  margin-top: 18px;
  color: var(--paper-soft);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
}

/* One app per card. Icon left, everything else right. */
.app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 39, 31, 0.72);
  transition: border-color 220ms ease, background 220ms ease;
}

.app-card:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

/* Rounded "squircle" app icon, built from brand colors. */
.app-icon {
  display: grid;
  place-items: center;
  width: clamp(96px, 18vw, 132px);
  height: clamp(96px, 18vw, 132px);
  border-radius: 26%;
  background: linear-gradient(150deg, #123028 0%, #0d271f 55%, #07221c 100%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 14px 40px var(--shadow),
    inset 0 1px 0 rgba(186, 209, 208, 0.18);
}

.app-icon svg {
  width: 58%;
  height: 58%;
  display: block;
}

.app-name {
  color: var(--paper);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 780;
  line-height: 1;
}

.app-tagline {
  margin-top: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

.app-copy {
  max-width: 600px;
  margin-top: 16px;
  color: var(--paper-soft);
  font-size: 16px;
  line-height: 1.55;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 24px;
}

.app-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.app-install {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.app-install strong {
  color: var(--paper-soft);
}

/* Small "more on the way" line under the card. */
.apps-foot {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linklike:hover {
  color: var(--paper);
}

@media (max-width: 640px) {
  .app-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
