.apps-page {
  --apps-ink: #23262b;
  --apps-muted: #51565f;
  --apps-accent: #a92d14;
  --apps-line: #e1ddd6;
  background: #f7f6f2;
  color: var(--apps-ink);
  font-family: Rubik, system-ui, sans-serif;
  overflow-x: visible;
}

.apps-wrap {
  width: min(100% - clamp(2rem, 8vw, 6rem), 72rem);
  margin-inline: auto;
}

.apps-skip {
  position: fixed;
  z-index: 2000;
  inset: 1rem auto auto 1rem;
  transform: translateY(-200%);
  padding: 1rem;
  border-radius: .5rem;
  background: #fff;
  color: var(--apps-ink);
}

.apps-skip:focus { transform: translateY(0); }

.apps-page :focus-visible {
  outline: 3px solid #1a73a8;
  outline-offset: 3px;
}

.apps-page .cid-tjjJk8j7ym a[aria-current="page"] {
  color: var(--apps-accent) !important;
  font-weight: 600;
}

.apps-intro {
  display: grid;
  gap: 1.25rem 3rem;
  align-items: end;
  padding-block: clamp(5.25rem, 8vw, 7rem) clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--apps-line);
}

.apps-kicker,
.apps-count,
.app-category {
  margin: 0;
  color: var(--apps-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .085em;
  line-height: 1.35;
  text-transform: uppercase;
}

.apps-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--apps-accent);
}

.apps-kicker::before {
  content: "";
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: currentColor;
}

.apps-title {
  margin: .65rem 0 .8rem;
  font-size: clamp(3.8rem, 8vw, 6.6rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.065em;
}

.apps-lead {
  max-width: 36rem;
  margin: 0;
  color: var(--apps-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.apps-count { white-space: nowrap; }

@media (min-width: 48rem) {
  .apps-intro { grid-template-columns: 1fr auto; }
  .apps-count { padding-bottom: .25rem; }
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
  padding: 0;
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 5rem);
  list-style: none;
}

.apps-grid > li {
  display: flex;
  min-width: 0;
}

.app-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--apps-line);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 2px 5px rgb(35 38 43 / .035);
}

.app-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1.08rem 1.08rem 0 0;
  border-bottom: 1px solid rgb(35 38 43 / .07);
  background: var(--app-backdrop, #eaeef5);
}

.app-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.app-media--inset img {
  width: 88%;
  height: 85%;
  object-fit: contain;
}

.app-media--focus { --app-backdrop: #252950; }
.app-media--notes { --app-backdrop: #edf0f5; }
.app-media--local {
  --app-backdrop: #e4eaf6;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 4%;
  padding: 7% 10% 0;
}

.app-media--local img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 4px 8px rgb(18 34 60 / .20));
}

.app-media--teams { --app-backdrop: #e4edff; }
.app-media--lorito { --app-backdrop: #d9efff; }
.app-media--lo-sabia { --app-backdrop: #f7f6f2; }
.app-media--focus img,
.app-media--teams img,
.app-media--educa img,
.app-media--innova img,
.app-media--school img { filter: drop-shadow(0 4px 8px rgb(18 34 60 / .16)); }
.app-media--educa { --app-backdrop: #f5ebdc; }
.app-media--innova { --app-backdrop: #f1eddc; }
.app-media--school { --app-backdrop: #e4eef8; }

.app-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 1.2rem .8rem;
}

.app-card__heading {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
}

.app-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .65rem;
  object-fit: contain;
}

.app-icon--lorito {
  padding: .25rem;
  background-color: #338df3;
}

.app-name {
  margin: .15rem 0 0;
  font-size: 1.14rem;
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.app-description {
  flex: 1;
  margin: .85rem 0 .3rem;
  color: var(--apps-muted);
  font-size: .96rem;
  line-height: 1.53;
}

.app-link,
.apps-footer a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: var(--apps-accent);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
}

.app-link:hover,
.apps-footer a:hover {
  color: #81200d;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.apps-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1rem;
  padding-block: 1rem 1.75rem;
  border-top: 1px solid var(--apps-line);
  color: var(--apps-muted);
  font-size: .875rem;
}

.apps-footer p { margin: 0; line-height: 1.4; }
